Skip to content

Commit

Permalink
phone: shortcuts gcp command
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwhiting committed Dec 29, 2023
1 parent 0959798 commit 3e97270
Show file tree
Hide file tree
Showing 16 changed files with 178 additions and 41 deletions.
8 changes: 5 additions & 3 deletions .obsidian/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
"useMarkdownLinks": true,
"showUnsupportedFiles": true,
"mobileToolbarCommands": [
"app:go-back",
"obsidian-footnotes:insert-autonumbered-footnote",
"editor:insert-wikilink",
"editor:insert-embed",
"editor:undo",
"editor:toggle-blockquote",
"editor:toggle-bold",
"editor:toggle-highlight",
"app:go-forward",
"editor:set-heading",
"editor:toggle-italics",
"editor:toggle-strikethrough",
"editor:paste",
"editor:toggle-bullet-list",
"templater-obsidian:create-new-note-from-template",
"editor:insert-tag",
"editor:toggle-numbered-list",
"editor:attach-file",
Expand All @@ -24,10 +27,9 @@
"editor:unindent-list",
"editor:redo",
"editor:configure-toolbar",
"editor:toggle-source",
"templater-obsidian:create-new-note-from-template"
"editor:toggle-source"
],
"alwaysUpdateLinks": true,
"promptDelete": false,
"mobilePullAction": "omnisearch:show-modal"
"mobilePullAction": "command-palette:open"
}
3 changes: 2 additions & 1 deletion .obsidian/community-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"obsidian-footnotes",
"custom-sort",
"templater-obsidian",
"omnisearch"
"omnisearch",
"darlal-switcher-plus"
]
10 changes: 5 additions & 5 deletions .obsidian/plugins/cmdr/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"statusBar": [],
"pageHeader": [
{
"id": "command-palette:open",
"icon": "lucide-terminal-square",
"name": "Command palette: Open command palette",
"id": "omnisearch:show-modal",
"icon": "lucide-search",
"name": "Omnisearch: Vault search",
"mode": "any"
}
],
Expand All @@ -24,10 +24,10 @@
},
"spacing": 8,
"advancedToolbar": {
"rowHeight": 48,
"rowHeight": 36,
"rowCount": 2,
"spacing": 0,
"buttonWidth": 48,
"buttonWidth": 36,
"columnLayout": true,
"mappedIcons": [
{
Expand Down
4 changes: 2 additions & 2 deletions .obsidian/plugins/custom-sort/data.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"additionalSortspecFile": "",
"suspended": false,
"statusBarEntryEnabled": true,
"notificationsEnabled": true,
"statusBarEntryEnabled": false,
"notificationsEnabled": false,
"mobileNotificationsEnabled": false,
"customSortContextSubmenu": true,
"automaticBookmarksIntegration": true,
Expand Down
4 changes: 2 additions & 2 deletions .obsidian/plugins/obsidian-linter/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"yaml-keys-to-remove": ""
},
"yaml-key-sort": {
"enabled": false,
"yaml-key-priority-sort-order": "",
"enabled": true,
"yaml-key-priority-sort-order": "title:\ndescription:\ndate:\ncategories:\ndraft:",
"priority-keys-at-start-of-yaml": true,
"yaml-sort-order-for-other-keys": "None"
},
Expand Down
55 changes: 35 additions & 20 deletions .obsidian/workspace-mobile.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,21 @@
"source": false
}
}
},
{
"id": "ba4750059d7c4841",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "posts/leaving-my-startup-was-the-right-decision.md",
"mode": "source",
"source": false
}
}
}
]
],
"currentTab": 1
}
],
"direction": "vertical"
Expand Down Expand Up @@ -85,7 +98,7 @@
"state": {
"type": "backlink",
"state": {
"file": "_templates/new-post.md",
"file": "posts/leaving-my-startup-was-the-right-decision.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -102,7 +115,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "_templates/new-post.md",
"file": "posts/leaving-my-startup-was-the-right-decision.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -114,7 +127,7 @@
"state": {
"type": "outline",
"state": {
"file": "_templates/new-post.md"
"file": "posts/leaving-my-startup-was-the-right-decision.md"
}
}
}
Expand All @@ -131,14 +144,27 @@
"command-palette:Open command palette": false,
"custom-sort:Toggle custom sorting": false,
"templater-obsidian:Templater": false,
"omnisearch:Omnisearch": false
"omnisearch:Omnisearch": false,
"darlal-switcher-plus:Open in Headings Mode": false,
"darlal-switcher-plus:Open Symbols for the active editor": false
}
},
"active": "78912cccc2282195",
"active": "ba4750059d7c4841",
"lastOpenFiles": [
"book-review/how-to-decide-simple-tools-for-making-better-choices.md.md",
"book-review/2023-12-22-the-killers-of-the-flower-moon/index.md",
"img/walking-away.png",
"posts/flip-a-coin.md",
"posts/leaving-my-startup-was-the-right-decision.md",
"_templates/new-post.md",
"book-review/how-to-decide-simple-tools-for-making-better-choices.md",
"Untitled 1.md",
"Untitled.md",
"posts/decisions-are-rivers.md",
"book-review/img/how-to-decide.jpg",
"book-review/img",
"book-review/2023-12-22-the-killers-of-the-flower-moon/index.md",
"Reading list.md",
"book-review/2023-12-23-the-best-of-edgar-allen-poe/photo.jpeg",
"book-review/how-to-decide-simple-tools-for-making-better-choices.md.md",
"resume.pdf",
"book-reviews/2023-12-22-the-killers-of-the-flower-moon/index.md",
"posts/_template/index.md",
Expand All @@ -163,24 +189,13 @@
"docs/sortspec.html",
"christianity/christmas-empty-tomb/index.md",
"docs/christianity/unknown-god/photo.jpeg",
"docs/christianity/unknown-god/index.html",
"christianity/2023-12-31-cfm-rev-15-21/index.md",
"docs/christianity/inconvenient-god/photo.jpeg",
"christianity/inconvenient-god/photo.jpeg",
"christianity/inconvenient-god/PNG image.png",
"christianity/Test/index.md",
"christianity/inconvenient-god/index.md",
"christianity/christmas-empty-tomb/photo.jpeg",
"christianity/christmas-empty-tomb/deadtree.jpeg",
"docs/christianity/christmas-empty-tomb/photo.jpeg",
"docs/christianity/christmas-empty-tomb/deadtree.jpeg",
"posts/quarto-from-phone/index.md",
"gratitude/2023-12-26-i'm-grateful-for-blankets/index.md",
"gratitude/2023-12-24-light/index.md",
"gratitude/2023-12-25-grateful-for-doctors/index.md",
"christianity/2023-12-24-the-christ-child/index.md",
"christianity/2023-12-17-christmas-celebrates-a-living-christ/index.md",
"christianity/2023-12-24-he-is-the-light-that-we-should-share/index.md",
"christianity/2023-12-13-three-little-pigs/index.md"
"christianity/christmas-empty-tomb/deadtree.jpeg"
]
}
19 changes: 19 additions & 0 deletions Reading list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Reading List
description: Wish list of books
date:
categories:
draft: true
---

- [ ] How to win friends and influence people
- [ ]

Spotify

- [x] [index](book-review/2023-12-22-the-killers-of-the-flower-moon/index.md)
- [ ] [how-to-decide-simple-tools-for-making-better-choices](book-review/how-to-decide-simple-tools-for-making-better-choices.md)

Libby:
- [ ] Edgar Allen Poe
- [ ]
16 changes: 9 additions & 7 deletions _templates/new-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ const folders = ["book-review", "christianity", "gratitude", "posts"];
// Use the suggester to let the user choose a folder
let folder = await tp.system.suggester(folders, folders);

// Ask for file name and process it
let fileNameRaw = await tp.system.prompt("Enter file name:");
let fileNameSlug = fileNameRaw
// Ask for a title
let title = await tp.system.prompt("Post title:");

// Convert title to a slug
let fileNameSlug = title
.toLowerCase()
.replace(/[^\w\s-]/g, '') // Remove punctuation
.trim()
.replace(/\s+/g, '-'); // Replace spaces with dashes

// Ask for a title
let title = await tp.system.prompt("Enter title:");
let slug = await tp.system.prompt("Slug/Filename:", fileNameSlug)

// Get current date
let date = tp.date.now("YYYY-MM-DD");
Expand All @@ -25,11 +26,12 @@ let content = `---
title: "${title}"
description: ""
date: "${date}"
categories: ${folder}
draft: false
---

`;

const filepath = `${folder}/${fileNameSlug}.md`
const filepath = `${folder}/${slug}`
await tp.file.move(filepath)
-%>
-%><% content %>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ categories:
- book review
- storytelling
draft: false
date-finished: ""
date-finished: 2023-12-28
---

![](photo.jpeg){.preview-image}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: "How to Decide: Simple Tools for Making Better Choices"
description: Choose wisely, and enjoy the ride.
date: 2023-12-28
categories:
- book review
- decisions
- philosophy
draft: false
---

![how-to-decide](img/how-to-decide.jpg){.preview-image}


What is my best decision? Worst?

- resulting: focusing on outcomes, rather than expected values and doing the best
- to improve decision making: focus on what the process was for decision making. Information gathering. Question asking.
- Remember choosing to leave Novi, wondering if someone was going to be a millionaire in my absence. Couldn't help but feel I was leaving money on the table by leaving. But I decided to leave to pursue what I was passionate about, and regardless that Novi went under I felt that was the right call as I finished my masters.

Actions:
- make a knowledge tracker. Details on decisions. Info known before/after. Make this going forward

Decision process:
- where do you want to go?
- What are all the ways to get there?
- By taking X choice, what are other ways it could go? What's the probability?
Empty file.
Binary file added book-review/img/how-to-decide.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/walking-away.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions posts/decisions-are-rivers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
categories:
- decisions
title: Decisions are Like Hopping on a River Raft
description: Choose wisely, and enjoy the ride.
date: 2023-12-28
draft: false
---

Reading [how-to-decide-simple-tools-for-making-better-choices](../book-review/how-to-decide-simple-tools-for-making-better-choices.md) and thinking about decisions.

I like to think of decisions as rivers.

Like decisions, all rivers lead somewhere. Where is your river heading?

The decision is which river to get on in your little boat. You can only envision the destination.

Being a high school English teacher is a decision. Where will that life take me after 5/10/20 years? Is that appealing? Only I can choose.

This thinking process is the decision choice. The rest is up to luck.
23 changes: 23 additions & 0 deletions posts/flip-a-coin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Flipping the coins of life
description: Are you right just because you got heads?
date: 2023-12-28
categories:
- philosophy
- decisions
draft: false
---
Assume you flip a coin 5 times and get heads 5 times. You're going pretty well!

But are you?

A normal coin has 50% chance of heads. Chances of 5 heads in a row is ~3/100. It's not nothing. But over time this will average to 50%, if you flip 10000 times.

Decisions are rarely black and whites despite how we choice to say "that was a bad decision". The outcome doesn't determine the quality of the decision.

You chose to flip a coin, and not roll a dice. You didn't roll a 32 sided die either.

Focus on choice that maximize probability. This is the decision.

- [how-to-decide-simple-tools-for-making-better-choices](../book-review/how-to-decide-simple-tools-for-making-better-choices.md)
- [decisions-are-rivers](decisions-are-rivers.md)
28 changes: 28 additions & 0 deletions posts/leaving-my-startup-was-the-right-decision.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Leaving my Startup was the Right Decision
description: But not because of the outcome.
date: 2023-12-28
categories:
- decisions
- storytelling
- hindsight
draft: false
---

I remember in 2014 deciding whether to leave my startuo after having just helped raise a seed round and finish a highly successful kickstarter. It was either: move with the team to Seattle or stay and finish my Master's degree. My married cofounder even suggested "you could find your wife here!"

I imagined every scenario in my anxiety. I specifically imagined all of my partners making $1M dollars or something. I felt like the decision to leave was a decision to not be a millionaire.

I emotionally came to terms with that possibility. And suddenly, that possible outcome had no allure to me anymore.

I chose to finish my degree and pursue a career in data science. I also luckily found my wife *not* in Seattle just a few weeks later.

I've made this choice a few times in my life: go with the direction I want to go at that time. To hop on the right [river](decisions-are-rivers.md).

This was the right decision, because I came to terms with alternate realties and still chose what aligned with my goals.

You never know what happens when you [flip-a-coin](flip-a-coin.md). But you can choose whether to flip.

- [how-to-decide-simple-tools-for-making-better-choices](../book-review/how-to-decide-simple-tools-for-making-better-choices.md)

![walking-away](../img/walking-away.png){.preview-image}

0 comments on commit 3e97270

Please sign in to comment.