diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index 8858ea56a..395d82c27 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,13 +1,25 @@ { "recentFiles": [ { - "basename": "2-nephi-1", - "path": "christianity/2-nephi-1.md" + "basename": "how-to-share-an-html-file-like-a-quarto-output-in-github", + "path": "tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md" }, { "basename": "2024-02-05", "path": "goals/2024-02-05.md" }, + { + "basename": "2024-02-06", + "path": "goals/2024-02-06.md" + }, + { + "basename": "a-knife-to-a-gun-fight", + "path": "tech/a-knife-to-a-gun-fight.md" + }, + { + "basename": "2-nephi-1", + "path": "christianity/2-nephi-1.md" + }, { "basename": "how-to-win-friends-and-influence-people", "path": "book-review/how-to-win-friends-and-influence-people.md" @@ -187,18 +199,6 @@ { "basename": "influence-the-psychology-of-persuasion", "path": "book-review/influence-the-psychology-of-persuasion.md" - }, - { - "basename": "beam-ai", - "path": "tech/beam-ai.md" - }, - { - "basename": "gpt4all", - "path": "tech/gpt4all.md" - }, - { - "basename": "ai", - "path": "lists/ai.md" } ], "omittedPaths": [], diff --git a/.obsidian/workspace-mobile.json b/.obsidian/workspace-mobile.json index 6534b0185..395b4c359 100644 --- a/.obsidian/workspace-mobile.json +++ b/.obsidian/workspace-mobile.json @@ -13,7 +13,7 @@ "state": { "type": "markdown", "state": { - "file": "christianity/2-nephi-1.md", + "file": "tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md", "mode": "source", "source": false } @@ -93,7 +93,7 @@ "state": { "type": "backlink", "state": { - "file": "christianity/2-nephi-1.md", + "file": "tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -110,7 +110,7 @@ "state": { "type": "outline", "state": { - "file": "christianity/2-nephi-1.md" + "file": "tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md" } } }, @@ -120,7 +120,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "christianity/2-nephi-1.md", + "file": "tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -141,10 +141,15 @@ }, "active": "be767112276aa446", "lastOpenFiles": [ - "img/dalle-paradise-vs-destruction.jpeg", - "scriptures/2-nephi-1.4.md", + "img/screenshot-html-file-on-github-rendered.jpeg", + "img/screenshot-raw-html-on-github.jpeg", "goals/2024-02-05.md", + "tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md", + "goals/2024-02-06.md", + "tech/a-knife-to-a-gun-fight.md", "christianity/2-nephi-1.md", + "img/dalle-paradise-vs-destruction.jpeg", + "scriptures/2-nephi-1.4.md", "book-review/how-to-win-friends-and-influence-people.md", "creative/guitar-clouds.md", "tech/embedding-audio-in-quarto.md", @@ -170,15 +175,10 @@ "goals/2024-02-02.md", "goals/2024-02-01.md", "goals/2024-01-29.md", - "goals/2024-01-30.md", - "goals/2024-01-31.md", - "posts/the-iceberg-theory-theory-of-omission.md", "img/dalle-image-wheat-into-a-silo.jpeg", "code/2024-02-02-libby.py", "code", "img/dalle-image-divinely-discontent.jpeg", - "img/photo-screenshot-leaderboard-llm-short.jpeg", - "img/photo-screenshot-chatbot-arena-leaderboard.jpeg", "innovate", "docs/gratitude/imagination.html", "docs/gratitude/chirping-birds.html", diff --git a/goals/2024-02-05.md b/goals/2024-02-05.md index 44450eac8..169945ed5 100644 --- a/goals/2024-02-05.md +++ b/goals/2024-02-05.md @@ -6,7 +6,7 @@ categories: - goals sun: true water24oz: true -pray: false +pray: true meditate: false sss: false workout-time: 0 diff --git a/goals/2024-02-06.md b/goals/2024-02-06.md new file mode 100644 index 000000000..43934d002 --- /dev/null +++ b/goals/2024-02-06.md @@ -0,0 +1,36 @@ +--- +date: 2024-02-06 +title: 2024-02-06 +description: x +categories: + - goals +sun: false +water24oz: false +pray: false +meditate: false +sss: false +asleepby1030: false +workout-time: 0 +muscle-groups: + - x +exercises: + - x +difficulty: 0 +workout-notes: x +workout-vibe: x +pelo-warmup: 0 +pelo-time: 0 +pelo-kj: 0 +pelo-avg: 0 +run-dist: 0 +run-time: 0 +hike-dist: 0 +hike-elev: 0 +hike-time: 0 +basketball-time: 0 +draft: false +--- +**Tuesday, February 6th, 2024** +[⏪ Mo 2/5](goals/2024-02-05) | Let God Prevail | [We 2/7 ⏩](goals/2024-02-07) + + diff --git a/img/screenshot-html-file-on-github-rendered.jpeg b/img/screenshot-html-file-on-github-rendered.jpeg new file mode 100644 index 000000000..3f5f9671e Binary files /dev/null and b/img/screenshot-html-file-on-github-rendered.jpeg differ diff --git a/img/screenshot-raw-html-on-github.jpeg b/img/screenshot-raw-html-on-github.jpeg new file mode 100644 index 000000000..3c3524cf4 Binary files /dev/null and b/img/screenshot-raw-html-on-github.jpeg differ diff --git a/tech/a-knife-to-a-gun-fight.md b/tech/a-knife-to-a-gun-fight.md index 9fb70cb83..3e8fe24b2 100644 --- a/tech/a-knife-to-a-gun-fight.md +++ b/tech/a-knife-to-a-gun-fight.md @@ -20,13 +20,13 @@ draft: false updated: 2024-01-09T23:49:13 --- -Tim Ferris describes why he doesn't have social media on his phone: +Tim Ferris describes [why he doesn't have](https://youtu.be/_Fn-giKevmo?si=f1Lz9H2U08BQhKwv) social media on his phone: -{{< video >}} +{{< video https://youtu.be/_Fn-giKevmo?si=f1Lz9H2U08BQhKwv >}} -I recently deleted social media from my phone 14 days ago. I had been using Instagram until April when I quit and Twitter all year. I realized within days how much better I felt without social media. Happier. Legitimately happier. +I recently deleted social media from my phone 14 days ago. I had been using Instagram until April when I quit and migrated to Twitter the rest of the year. I recently realized within days how much better I felt without social media. Happier. Legitimately happier. -And why? What do I get out of it? I'm not growing closer to friends. That's what texting and calling and spending time in person does. But I'd argue even texting doesn't really strengthen a relationship because it's so hard to properly interpret emotions and cues via text: you interpret them how you read those texts. You interpret it according to your emotional state, not the sender's. +And why? What did I get out of it? I wasn't growing closer to friends. That's what texting and calling and spending time in person does. But I'd argue even texting doesn't really strengthen a relationship because it's so hard to properly interpret emotions and cues via text: you interpret them how you read those texts. You interpret it according to your emotional state, not the sender's. Phone provides vocal emotional cues. Body language another set of emotional cues. I can get probably 70% of this out from FaceTime or [Zoom](../gratitude/zoom.md). But being in person is what we're meant for. @@ -34,7 +34,9 @@ This is why we strengthen relationships locally, and fail to continue ones from So what was I doing on social media? Watching clips of either strangers I don't care about or college associates I friended (once lived locally with) that I no longer talk to. -So what's the knife you're bringing to the gun fight? When at YouTube I heard the CEO praise a team for increasing "seconds watched" by 15% by reducing the lag of the swipes between YouTube shorts (TikTok clone). The lag reduction was in the milliseconds. Your attention is being bought and manipulated by the shareholders of these companies. +So what's the knife you're bringing to the gun fight? When at YouTube I heard the CEO praise a team for increasing "seconds watched" by 15% by reducing the lag of the swipes between YouTube shorts (TikTok clone). The lag reduction was in the milliseconds. Meaning: they made the slot machine more addictive. + +Your attention is being bought and manipulated by the shareholders of these companies. ![Yes, they're targeting specifically you. You don't stand a chance. And you have a pocket knife, and you're 50 feet away. Who's gonna win?](../img/dalle-knife-gun-fight.jpeg){.preview-image} @@ -50,4 +52,4 @@ I *do* miss laughing about some random Reel. There's nothing that can get you la Since being off social media I feel like my senses have grown. I now find my kids a lot funnier, my wife funnier, and I'm able to make heavy situations lighter much easier. -There's a quote in [Dune](../book-review/dune.md) that's something like "If you rely only on your eyes, your other senses weaken". I'd argue my other relationships weakened too. Time to leave the fight. I was losing. +There's a quote in [Dune](../book-review/dune.md) that's something like "If you rely only on your eyes, your other senses weaken". I'd argue my other relationships had weakened too. Time to leave the fight. I was losing. diff --git a/tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md b/tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md new file mode 100644 index 000000000..9b19e927c --- /dev/null +++ b/tech/how-to-share-an-html-file-like-a-quarto-output-in-github.md @@ -0,0 +1,32 @@ +--- +title: How to share an HTML file (like a quarto output in GitHub) +description: Do you have an HTML file saved on GitHub that you'd like to share? +date: 2024-02-06 09:44:38 +created: 2024-02-06 09:44:38 +categories: + - tech + - quarto + - github + - data science + - html +draft: false +--- +Let's assume you have a raw HTML file on GitHub, such as a Jupyter notebook you rendered to HTML or a Quarto doc you rendered via `quarto render`. + +If you try to share the link from GitHub directly, GitHub will just show the raw HTML file. + +Use this link to convert it to your dashboard: + +[GitHub & BitBucket HTML Preview](https://htmlpreview.github.io/) + +Example: + +GitHub File: https://github.com/bryanwhiting/blog/blob/gh-pages/index.html + +![Preview in GitHub](../img/screenshot-raw-html-on-github.jpeg){.preview-image} + +Preview using that link: https://htmlpreview.github.io/?https://github.com/bryanwhiting/blog/blob/gh-pages/index.html + +Notice the URL at the bottom + +![Render HTML](../img/screenshot-html-file-on-github-rendered.jpeg){.preview-image}