diff --git a/astro/astro-paper-main/astro.config.ts b/astro/astro-paper-main/astro.config.ts
index 8386d5d4..52541adc 100644
--- a/astro/astro-paper-main/astro.config.ts
+++ b/astro/astro-paper-main/astro.config.ts
@@ -1,6 +1,7 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
+import partytown from "@astrojs/partytown"
import remarkToc from "remark-toc";
import remarkCollapse from "remark-collapse";
import sitemap from "@astrojs/sitemap";
@@ -15,6 +16,7 @@ export default defineConfig({
}),
react(),
sitemap(),
+ partytown({ config: { forward: ['dataLayer.push'] } }),
],
markdown: {
remarkPlugins: [
diff --git a/astro/astro-paper-main/src/content/blog/adding-new-post.md b/astro/astro-paper-main/doc-posts/adding-new-post.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/adding-new-post.md
rename to astro/astro-paper-main/doc-posts/adding-new-post.md
diff --git a/astro/astro-paper-main/src/content/blog/astro-paper-2.md b/astro/astro-paper-main/doc-posts/astro-paper-2.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/astro-paper-2.md
rename to astro/astro-paper-main/doc-posts/astro-paper-2.md
diff --git a/astro/astro-paper-main/src/content/blog/astro-paper-3.md b/astro/astro-paper-main/doc-posts/astro-paper-3.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/astro-paper-3.md
rename to astro/astro-paper-main/doc-posts/astro-paper-3.md
diff --git a/astro/astro-paper-main/src/content/blog/astro-paper-4.md b/astro/astro-paper-main/doc-posts/astro-paper-4.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/astro-paper-4.md
rename to astro/astro-paper-main/doc-posts/astro-paper-4.md
diff --git a/astro/astro-paper-main/src/content/blog/customizing-astropaper-theme-color-schemes.md b/astro/astro-paper-main/doc-posts/customizing-astropaper-theme-color-schemes.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/customizing-astropaper-theme-color-schemes.md
rename to astro/astro-paper-main/doc-posts/customizing-astropaper-theme-color-schemes.md
diff --git a/astro/astro-paper-main/src/content/blog/dynamic-og-images.md b/astro/astro-paper-main/doc-posts/dynamic-og-images.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/dynamic-og-images.md
rename to astro/astro-paper-main/doc-posts/dynamic-og-images.md
diff --git a/astro/astro-paper-main/src/content/blog/example-draft-post.md b/astro/astro-paper-main/doc-posts/example-draft-post.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/example-draft-post.md
rename to astro/astro-paper-main/doc-posts/example-draft-post.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-add-a-new-social-icon.md b/astro/astro-paper-main/doc-posts/how-to-add-a-new-social-icon.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-add-a-new-social-icon.md
rename to astro/astro-paper-main/doc-posts/how-to-add-a-new-social-icon.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-add-an-estimated-reading-time.md b/astro/astro-paper-main/doc-posts/how-to-add-an-estimated-reading-time.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-add-an-estimated-reading-time.md
rename to astro/astro-paper-main/doc-posts/how-to-add-an-estimated-reading-time.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-add-latex-equations-in-blog-posts.md b/astro/astro-paper-main/doc-posts/how-to-add-latex-equations-in-blog-posts.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-add-latex-equations-in-blog-posts.md
rename to astro/astro-paper-main/doc-posts/how-to-add-latex-equations-in-blog-posts.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-configure-astropaper-theme.md b/astro/astro-paper-main/doc-posts/how-to-configure-astropaper-theme.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-configure-astropaper-theme.md
rename to astro/astro-paper-main/doc-posts/how-to-configure-astropaper-theme.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-connect-astro-paper-blog-with-forestry-cms.md b/astro/astro-paper-main/doc-posts/how-to-connect-astro-paper-blog-with-forestry-cms.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-connect-astro-paper-blog-with-forestry-cms.md
rename to astro/astro-paper-main/doc-posts/how-to-connect-astro-paper-blog-with-forestry-cms.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-integrate-giscus-comments.md b/astro/astro-paper-main/doc-posts/how-to-integrate-giscus-comments.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-integrate-giscus-comments.md
rename to astro/astro-paper-main/doc-posts/how-to-integrate-giscus-comments.md
diff --git a/astro/astro-paper-main/src/content/blog/how-to-update-dependencies.md b/astro/astro-paper-main/doc-posts/how-to-update-dependencies.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/how-to-update-dependencies.md
rename to astro/astro-paper-main/doc-posts/how-to-update-dependencies.md
diff --git a/astro/astro-paper-main/src/content/blog/portfolio-website-development.md b/astro/astro-paper-main/doc-posts/portfolio-website-development.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/portfolio-website-development.md
rename to astro/astro-paper-main/doc-posts/portfolio-website-development.md
diff --git a/astro/astro-paper-main/src/content/blog/predefined-color-schemes.md b/astro/astro-paper-main/doc-posts/predefined-color-schemes.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/predefined-color-schemes.md
rename to astro/astro-paper-main/doc-posts/predefined-color-schemes.md
diff --git a/astro/astro-paper-main/src/content/blog/setting-dates-via-git-hooks.md b/astro/astro-paper-main/doc-posts/setting-dates-via-git-hooks.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/setting-dates-via-git-hooks.md
rename to astro/astro-paper-main/doc-posts/setting-dates-via-git-hooks.md
diff --git a/astro/astro-paper-main/src/content/blog/tailwind-typography.md b/astro/astro-paper-main/doc-posts/tailwind-typography.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/tailwind-typography.md
rename to astro/astro-paper-main/doc-posts/tailwind-typography.md
diff --git a/astro/astro-paper-main/src/content/blog/terminal-development.md b/astro/astro-paper-main/doc-posts/terminal-development.md
similarity index 100%
rename from astro/astro-paper-main/src/content/blog/terminal-development.md
rename to astro/astro-paper-main/doc-posts/terminal-development.md
diff --git a/astro/astro-paper-main/package-lock.json b/astro/astro-paper-main/package-lock.json
index 2c74ce44..b7371132 100644
--- a/astro/astro-paper-main/package-lock.json
+++ b/astro/astro-paper-main/package-lock.json
@@ -21,6 +21,7 @@
"typescript": "^5.5.3"
},
"devDependencies": {
+ "@astrojs/partytown": "^2.1.2",
"@astrojs/react": "^3.6.2",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
@@ -167,6 +168,17 @@
"vfile": "^6.0.2"
}
},
+ "node_modules/@astrojs/partytown": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@astrojs/partytown/-/partytown-2.1.2.tgz",
+ "integrity": "sha512-1a9T5lqxtnrw0qLPo1KwliUvaaUzPNPtWucD8VxdwT7zqcpODFk1RzGgAgqVo+YhutFrTu/qclbtnOfXBuskjw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@builder.io/partytown": "^0.10.2",
+ "mrmime": "^2.0.0"
+ }
+ },
"node_modules/@astrojs/prism": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-3.1.0.tgz",
@@ -588,6 +600,19 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@builder.io/partytown": {
+ "version": "0.10.2",
+ "resolved": "https://registry.npmjs.org/@builder.io/partytown/-/partytown-0.10.2.tgz",
+ "integrity": "sha512-A9U+4PREWcS+CCYzKGIPovtGB/PBgnH/8oQyCE6Nr9drDJk6cMPpLQIEajpGPmG9tYF7N3FkRvhXm/AS9+0iKg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "partytown": "bin/partytown.cjs"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
"node_modules/@cspotcode/source-map-support": {
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
diff --git a/astro/astro-paper-main/package.json b/astro/astro-paper-main/package.json
index 21e19cf6..5fbd9bd2 100644
--- a/astro/astro-paper-main/package.json
+++ b/astro/astro-paper-main/package.json
@@ -27,6 +27,7 @@
"typescript": "^5.5.3"
},
"devDependencies": {
+ "@astrojs/partytown": "^2.1.2",
"@astrojs/react": "^3.6.2",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
diff --git a/astro/astro-paper-main/src/assets/images/3GzdjxY.png b/astro/astro-paper-main/src/assets/images/3GzdjxY.png
new file mode 100644
index 00000000..7940bbe5
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/3GzdjxY.png differ
diff --git a/astro/astro-paper-main/src/assets/images/44wMq0Z.png b/astro/astro-paper-main/src/assets/images/44wMq0Z.png
new file mode 100644
index 00000000..f4b68407
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/44wMq0Z.png differ
diff --git a/astro/astro-paper-main/src/assets/images/7225cac2-0224-4f0a-ae86-8057a1629022.png b/astro/astro-paper-main/src/assets/images/7225cac2-0224-4f0a-ae86-8057a1629022.png
new file mode 100644
index 00000000..de243634
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/7225cac2-0224-4f0a-ae86-8057a1629022.png differ
diff --git a/astro/astro-paper-main/src/assets/images/8aaaf23a-d737-4e9d-bcb4-61ddcc9e5a2a.png b/astro/astro-paper-main/src/assets/images/8aaaf23a-d737-4e9d-bcb4-61ddcc9e5a2a.png
new file mode 100644
index 00000000..1d340c53
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/8aaaf23a-d737-4e9d-bcb4-61ddcc9e5a2a.png differ
diff --git a/astro/astro-paper-main/src/assets/images/EZb9cQ7.jpg b/astro/astro-paper-main/src/assets/images/EZb9cQ7.jpg
new file mode 100644
index 00000000..19426c20
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/EZb9cQ7.jpg differ
diff --git a/astro/astro-paper-main/src/assets/images/ILGJD3b.jpg b/astro/astro-paper-main/src/assets/images/ILGJD3b.jpg
new file mode 100644
index 00000000..af57c2f3
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/ILGJD3b.jpg differ
diff --git a/astro/astro-paper-main/src/assets/images/LvdGYAG.jpg b/astro/astro-paper-main/src/assets/images/LvdGYAG.jpg
new file mode 100644
index 00000000..2aa0dd98
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/LvdGYAG.jpg differ
diff --git a/astro/astro-paper-main/src/assets/images/a368fd78-2be5-412b-b744-265e20ef4aef.png b/astro/astro-paper-main/src/assets/images/a368fd78-2be5-412b-b744-265e20ef4aef.png
new file mode 100644
index 00000000..a58eadd3
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/a368fd78-2be5-412b-b744-265e20ef4aef.png differ
diff --git a/astro/astro-paper-main/src/assets/images/b40a4c04-5106-4a2e-9947-95eadcc59bb3.png b/astro/astro-paper-main/src/assets/images/b40a4c04-5106-4a2e-9947-95eadcc59bb3.png
new file mode 100644
index 00000000..05d92362
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/b40a4c04-5106-4a2e-9947-95eadcc59bb3.png differ
diff --git a/astro/astro-paper-main/src/assets/images/c972da73-155a-426a-b487-5ad73295c918.png b/astro/astro-paper-main/src/assets/images/c972da73-155a-426a-b487-5ad73295c918.png
new file mode 100644
index 00000000..0cbee3ee
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/c972da73-155a-426a-b487-5ad73295c918.png differ
diff --git a/astro/astro-paper-main/src/assets/images/f8eae9e1-d1b0-4ee0-a19a-56a6ea290af3.png b/astro/astro-paper-main/src/assets/images/f8eae9e1-d1b0-4ee0-a19a-56a6ea290af3.png
new file mode 100644
index 00000000..e3dd4e4c
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/f8eae9e1-d1b0-4ee0-a19a-56a6ea290af3.png differ
diff --git a/astro/astro-paper-main/src/assets/images/jVNLPaR.jpg b/astro/astro-paper-main/src/assets/images/jVNLPaR.jpg
new file mode 100644
index 00000000..637a586d
Binary files /dev/null and b/astro/astro-paper-main/src/assets/images/jVNLPaR.jpg differ
diff --git a/astro/astro-paper-main/src/config.ts b/astro/astro-paper-main/src/config.ts
index d34ecf00..1af66845 100644
--- a/astro/astro-paper-main/src/config.ts
+++ b/astro/astro-paper-main/src/config.ts
@@ -6,6 +6,7 @@ export const SITE: Site = {
profile: "https://stevenpg.com/",
desc: "My Tech and Life Blog with the writing the articles I wish were written!",
title: "Coding Steve",
+ // TODO - replace image
ogImage: "astropaper-og.jpg",
lightAndDarkMode: true,
postPerIndex: 4,
diff --git a/astro/astro-paper-main/src/content/blog/2024-09-19-Easy-Spring-Rest-Client-with-OAuth2.markdown b/astro/astro-paper-main/src/content/blog/easy-spring-rest-client-with-oauth2.md
similarity index 94%
rename from astro/astro-paper-main/src/content/blog/2024-09-19-Easy-Spring-Rest-Client-with-OAuth2.markdown
rename to astro/astro-paper-main/src/content/blog/easy-spring-rest-client-with-oauth2.md
index 9cc05115..3f3a7125 100644
--- a/astro/astro-paper-main/src/content/blog/2024-09-19-Easy-Spring-Rest-Client-with-OAuth2.markdown
+++ b/astro/astro-paper-main/src/content/blog/easy-spring-rest-client-with-oauth2.md
@@ -1,12 +1,16 @@
---
-layout: post
-title: "Easy Spring Rest Client w/ OAuth2"
-toc: true
-date: 2024-09-19 12:00:00 -0500
-categories:
-- software
-- spring boot
-- java
+author: StevenPG
+pubDatetime: 2024-09-19T12:00:00.000Z
+title: Easy Spring Rest Client w/ OAuth2
+slug: spring-rest-client-oauth2
+featured: true
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
+ - software
+ - spring boot
+ - java
+description: An article walking through a demo of partitioning tables with postgres.
---
# Brief
diff --git a/astro/astro-paper-main/src/content/blog/2024-04-14-graalvm-native-image-reflect-config-demystified.markdown b/astro/astro-paper-main/src/content/blog/graalvm-native-image-reflect-config-demystified.md
similarity index 94%
rename from astro/astro-paper-main/src/content/blog/2024-04-14-graalvm-native-image-reflect-config-demystified.markdown
rename to astro/astro-paper-main/src/content/blog/graalvm-native-image-reflect-config-demystified.md
index 85a923df..d9b7889b 100644
--- a/astro/astro-paper-main/src/content/blog/2024-04-14-graalvm-native-image-reflect-config-demystified.markdown
+++ b/astro/astro-paper-main/src/content/blog/graalvm-native-image-reflect-config-demystified.md
@@ -1,13 +1,16 @@
---
-layout: post
-title: "GraalVM Native Image Reflect Config Demystified"
-toc: true
-date: 2024-04-13 12:00:00 -0500
-categories:
+author: StevenPG
+pubDatetime: 2024-04-13T12:00:00.000Z
+title: GraalVM Native Image Reflect Config Demystified
+slug: graalvm-reflect-config-demystified
+featured: true
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
- software
- spring boot
- graalvm
- - native-image
+description: An article describing the latest way to log spring web client requests and responses using Logbook.
---
One of the hardest things about compiling a Spring Boot application into a GraalVM native image is
@@ -37,7 +40,7 @@ tracing agent looks to write.
To accomplish this, we're going to create a new project and go through a typical workflow to build and update
a native-image application.
-![Image of Spring Initializr]({{site.url}}{{site.baseurl}}/assets/f8eae9e1-d1b0-4ee0-a19a-56a6ea290af3.png)
+![Image of Spring Initializr](/assets/f8eae9e1-d1b0-4ee0-a19a-56a6ea290af3.png)
We can use Spring Initializr to generate our test project.
@@ -162,7 +165,7 @@ creating the `src/main/resources/META-INF/native-image` directory.
Inside, we'll create the reflect-config.json file.
-![Directory Sample]({{site.url}}{{site.baseurl}}/assets/b40a4c04-5106-4a2e-9947-95eadcc59bb3.png)
+![Directory Sample](/assets/b40a4c04-5106-4a2e-9947-95eadcc59bb3.png)
## Breaking Down Reflect-Config
diff --git a/astro/astro-paper-main/src/content/blog/2024-07-21-homelab-drives-and-buying-used.markdown b/astro/astro-paper-main/src/content/blog/homelab-drives-and-buying-used.md
similarity index 85%
rename from astro/astro-paper-main/src/content/blog/2024-07-21-homelab-drives-and-buying-used.markdown
rename to astro/astro-paper-main/src/content/blog/homelab-drives-and-buying-used.md
index 6bb4b164..228dc07f 100644
--- a/astro/astro-paper-main/src/content/blog/2024-07-21-homelab-drives-and-buying-used.markdown
+++ b/astro/astro-paper-main/src/content/blog/homelab-drives-and-buying-used.md
@@ -1,9 +1,14 @@
---
-layout: post
-title: "Homelab Drives & Buying Used"
-date: 2024-07-21 12:00:00 -0500
-categories:
+author: StevenPG
+pubDatetime: 2024-07-21T12:00:00.000Z
+title: Homelab Drives & Buying Used
+slug: buying-used-harddrives
+featured: false
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
- hardware
+description: An article with a short overview of my experiece buying used drives and using smartctl.
---
# Homelab Drives & Buying Used
@@ -19,10 +24,10 @@ lsblk: Displays block devices with their mount points, label, UUID, and size.
smartctl: Retrieves S.M.A.R.T. data, which provides information about the drive's health, performance, and reliability.
Basic Commands:
-{% highlight bash %}
+```bash
sudo lsblk -f
sudo smartctl --all /dev/sda > output.txt
-{% endhighlight %}
+```
The first command lists your block devices, while the second saves the S.M.A.R.T. data of /dev/sda to a text file for analysis.
diff --git a/astro/astro-paper-main/src/content/blog/2024-09-17-Java-Streams-Gather-Jdk-23.markdown b/astro/astro-paper-main/src/content/blog/java-streams-gather-Jdk-23.md
similarity index 95%
rename from astro/astro-paper-main/src/content/blog/2024-09-17-Java-Streams-Gather-Jdk-23.markdown
rename to astro/astro-paper-main/src/content/blog/java-streams-gather-Jdk-23.md
index 0be0cee2..d0159fa8 100644
--- a/astro/astro-paper-main/src/content/blog/2024-09-17-Java-Streams-Gather-Jdk-23.markdown
+++ b/astro/astro-paper-main/src/content/blog/java-streams-gather-Jdk-23.md
@@ -1,11 +1,16 @@
---
-layout: post
-title: "Jdk 23 Streams - How To Use Gather Operations"
-toc: true
-date: 2024-09-29 12:00:00 -0500
-categories:
-- software
-- java
+author: StevenPG
+pubDatetime: 2024-09-29T12:00:00.000Z
+title: Jdk 23 Streams - How To Use Gather Operations
+slug: jdk23-streams-gather
+featured: false
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
+ - software
+ - spring boot
+ - java
+description: An article on how to use the Gather stream operation in JDK23
---
# It's finally here! JDK 23
diff --git a/astro/astro-paper-main/src/content/blog/2024-03-05-logging-request-body-with-spring-webclient.markdown b/astro/astro-paper-main/src/content/blog/logging-request-body-with-spring-webclient.md
similarity index 88%
rename from astro/astro-paper-main/src/content/blog/2024-03-05-logging-request-body-with-spring-webclient.markdown
rename to astro/astro-paper-main/src/content/blog/logging-request-body-with-spring-webclient.md
index 91445d24..c3fdf5ed 100644
--- a/astro/astro-paper-main/src/content/blog/2024-03-05-logging-request-body-with-spring-webclient.markdown
+++ b/astro/astro-paper-main/src/content/blog/logging-request-body-with-spring-webclient.md
@@ -1,10 +1,15 @@
---
-layout: post
-title: "Logging Request Body with Spring WebClient"
-date: 2024-03-05 12:00:00 -0500
-categories:
+author: StevenPG
+pubDatetime: 2024-03-05T12:00:00.000Z
+title: Logging Request Body with Spring WebClient
+slug: request-body-with-spring-webclient
+featured: true
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
- software
- - spring webflux
+ - spring boot
+description: An article describing the latest way to log spring web client requests and responses using Logbook.
---
## Previously!
@@ -17,7 +22,7 @@ I was frustrated that I couldn't find any full examples, so (being the change I
That's resulted in a very very small, but non-zero amount of traffic to that article.
-![Image of page view statistics, showing 22k visitors since 2020]({{site.url}}{{site.baseurl}}/assets/3GzdjxY.png)
+![Image of page view statistics, showing 22k visitors since 2020](/assets/3GzdjxY.png)
While that would normally be something I'm happy about, the methodology in my old article is outdated and poorly recommended.
diff --git a/astro/astro-paper-main/src/content/blog/2024-03-04-microservice-spring-boot-2-to-3-graalvm-native-image-conversion.markdown b/astro/astro-paper-main/src/content/blog/microservice-spring-boot-2-to-3-graalvm-native-image-conversion.md
similarity index 97%
rename from astro/astro-paper-main/src/content/blog/2024-03-04-microservice-spring-boot-2-to-3-graalvm-native-image-conversion.markdown
rename to astro/astro-paper-main/src/content/blog/microservice-spring-boot-2-to-3-graalvm-native-image-conversion.md
index 5d4859c4..0e3129a6 100644
--- a/astro/astro-paper-main/src/content/blog/2024-03-04-microservice-spring-boot-2-to-3-graalvm-native-image-conversion.markdown
+++ b/astro/astro-paper-main/src/content/blog/microservice-spring-boot-2-to-3-graalvm-native-image-conversion.md
@@ -1,13 +1,16 @@
---
-layout: post
-title: "Converting Spring Boot 2 to Spring Boot 3 Native Image w/ GraalVM"
-toc: true
-date: 2024-03-04 12:00:00 -0500
-categories:
- - software
+author: StevenPG
+pubDatetime: 2024-03-04T12:00:00.000Z
+title: Converting Spring Boot 2 to Spring Boot 3 Native Image w/ GraalVM
+slug: spring2-to-spring3-graalvm
+featured: true
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
+ - story
- spring boot
- graalvm
- - native-image
+description: A walkthrough of updating a Spring Boot 2 application to Spring 3 running on GraalVM as a native application.
---
# Migrating to Spring Boot 3 and Native Image
diff --git a/astro/astro-paper-main/src/content/blog/2024-02-04-my-first-post.markdown b/astro/astro-paper-main/src/content/blog/my-first-post.md
similarity index 79%
rename from astro/astro-paper-main/src/content/blog/2024-02-04-my-first-post.markdown
rename to astro/astro-paper-main/src/content/blog/my-first-post.md
index 21d0d079..6329bd7c 100644
--- a/astro/astro-paper-main/src/content/blog/2024-02-04-my-first-post.markdown
+++ b/astro/astro-paper-main/src/content/blog/my-first-post.md
@@ -1,18 +1,27 @@
---
-layout: post
-title: "My First Post, on My First Blog"
-date: 2024-02-04 12:00:00 -0500
-categories:
+author: StevenPG
+pubDatetime: 2024-02-04T12:00:00.000Z
+title: My First Post, on My First Blog
+slug: my-first-post
+featured: false
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
- story
- tech
+description: My first blog post, describing the original Jekyll blog and a migration to Astro.
---
## The Hook
+TODO - update with Astro migration
+
What do I write on my first post under the "Tech Posts" section of this blog? It's gotta be something
tech related... And the only thing on my mind is this blog made with Jekyll. So I'll write a little
bit about my setup and Jekyll!
+TODO - replace this with Astro migration, keep jekyll stuff
+
## How these pages were built
Shout-out to [Chad Baldwin][chadbaldwin.net], who's blog I came across when I started searching on how to
@@ -26,7 +35,7 @@ So I jumped over to [Jekyll's Install][jekyll-install] and got it installed on m
Speaking of my local machine, I do nearly all of my work on a steeply discounted Apple M1 Pro I picked up
right when the M2 Pro released.
-![Image of Directory]({{site.url}}{{site.baseurl}}/assets/LvdGYAG.jpg)
+![Image of Directory](/assets/LvdGYAG.jpg)
In the spirit of open source, I've been cross referencing Chad's blog
and the official Jekyll documentation.
@@ -47,7 +56,7 @@ I wanted by default (default.html), and for my home page (home.html).
[The layout docs are right here](https://jekyllrb.com/docs/step-by-step/04-layouts/)
-![Image of Directory]({{site.url}}{{site.baseurl}}/assets/44wMq0Z.png)
+![Image of Directory](/assets/44wMq0Z.png)
I followed the instructions in the Blogging section of the step-by-step and took some
inspiration from Chad's repository, and separated my posts into personal and tech.
diff --git a/astro/astro-paper-main/src/content/blog/2024-06-05-partitioning-tables-with-postgres.markdown b/astro/astro-paper-main/src/content/blog/partitioning-tables-with-postgres.md
similarity index 87%
rename from astro/astro-paper-main/src/content/blog/2024-06-05-partitioning-tables-with-postgres.markdown
rename to astro/astro-paper-main/src/content/blog/partitioning-tables-with-postgres.md
index 8906c1cc..67d8bfa1 100644
--- a/astro/astro-paper-main/src/content/blog/2024-06-05-partitioning-tables-with-postgres.markdown
+++ b/astro/astro-paper-main/src/content/blog/partitioning-tables-with-postgres.md
@@ -1,12 +1,16 @@
---
-layout: post
-title: "Partitioning Tables with Progress"
-toc: true
-date: 2024-06-05 12:00:00 -0500
-categories:
+author: StevenPG
+pubDatetime: 2024-06-05T12:00:00.000Z
+title: Partitioning Tables with Progress
+slug: partitioning-tables-postgres
+featured: false
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
- software
- spring boot
- postgres
+description: An article walking through a demo of partitioning tables with postgres.
---
# Partitioning Databases in PostgreSQL
@@ -99,7 +103,7 @@ Now that we have our database configured, we'll start reviewing some queries:
explain select * from public.traffic_data
-![Full Table Scan]({{site.url}}{{site.baseurl}}/assets/a368fd78-2be5-412b-b744-265e20ef4aef.png)
+![Full Table Scan](/assets/a368fd78-2be5-412b-b744-265e20ef4aef.png)
We can see that when we query the entire table, we do a sequential scan across the
@@ -107,17 +111,17 @@ entire database. Now lets throw a `where` clause in and see what happens!
Lets run the query `select * from public.traffic_data where measure_date < '2024-02-15'`
-![Query result]({{site.url}}{{site.baseurl}}/assets/7225cac2-0224-4f0a-ae86-8057a1629022.png)
+![Query result](/assets/7225cac2-0224-4f0a-ae86-8057a1629022.png)
We see that we got the data we expected, but what happened in postgres?
-![2 Table Scan]({{site.url}}{{site.baseurl}}/assets/8aaaf23a-d737-4e9d-bcb4-61ddcc9e5a2a.png)
+![2 Table Scan](/assets/8aaaf23a-d737-4e9d-bcb4-61ddcc9e5a2a.png)
We see that we did a sequential scan of the two tables that were relevant for us,
but we never scanned our third table. If we were to query a more specific date, we know
that we would only scan the relevant table!
-![Single Table Scan]({{site.url}}{{site.baseurl}}/assets/c972da73-155a-426a-b487-5ad73295c918.png)
+![Single Table Scan](/assets/c972da73-155a-426a-b487-5ad73295c918.png)
Pairing this with indexing allows us to really optimize our tables!
diff --git a/astro/astro-paper-main/src/content/blog/2024-08-04-scs-record-recoverable-processor-error-handling.markdown b/astro/astro-paper-main/src/content/blog/scs-record-recoverable-processor-error-handling.md
similarity index 95%
rename from astro/astro-paper-main/src/content/blog/2024-08-04-scs-record-recoverable-processor-error-handling.markdown
rename to astro/astro-paper-main/src/content/blog/scs-record-recoverable-processor-error-handling.md
index 8be637a2..eb3850df 100644
--- a/astro/astro-paper-main/src/content/blog/2024-08-04-scs-record-recoverable-processor-error-handling.markdown
+++ b/astro/astro-paper-main/src/content/blog/scs-record-recoverable-processor-error-handling.md
@@ -1,13 +1,17 @@
---
-layout: post
-title: "Spring Cloud Stream's RecordRecoverableProcessor for Workflow Error Handling"
-toc: true
-date: 2024-08-04 12:00:00 -0500
-categories:
-- software
-- spring boot
-- java
-- kafka
+author: StevenPG
+pubDatetime: 2024-08-04T12:00:00.000Z
+title: Spring Cloud Stream's RecordRecoverableProcessor for Workflow Error Handling
+slug: scs-record-recoverable-processor
+featured: false
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
+ - software
+ - spring boot
+ - java
+ - kafka
+description: An article walking through a demo of partitioning tables with postgres.
---
# Brief
@@ -35,7 +39,7 @@ event driven applications to set the stage for why we would use this framework o
##### Minimal Configuration
-{% highlight yaml %}
+```yaml
spring:
cloud:
function:
@@ -49,7 +53,7 @@ spring:
# The configuration for the function OUT binding
readAndPublish-out-0:
destination: my.out.topic
-{% endhighlight %}
+```
##### Minimal Java Code
diff --git a/astro/astro-paper-main/src/content/blog/2024-02-04-the-cat-door.markdown b/astro/astro-paper-main/src/content/blog/the-cat-door.md
similarity index 83%
rename from astro/astro-paper-main/src/content/blog/2024-02-04-the-cat-door.markdown
rename to astro/astro-paper-main/src/content/blog/the-cat-door.md
index 156eec4c..923220af 100644
--- a/astro/astro-paper-main/src/content/blog/2024-02-04-the-cat-door.markdown
+++ b/astro/astro-paper-main/src/content/blog/the-cat-door.md
@@ -1,15 +1,20 @@
---
-layout: post
-title: "Freedom of Travel for the Three Legged Cat"
-date: 2024-02-06 12:00:00 -0500
-categories:
+author: StevenPG
+pubDatetime: 2024-02-06T12:00:00.000Z
+title: Freedom of Travel for the Three Legged Cat
+slug: tripod-travel-freedom
+featured: false
+# TODO replace ogImage
+ogImage: https://user-images.githubusercontent.com/53733092/215771435-25408246-2309-4f8b-a781-1f3d93bdf0ec.png
+tags:
- story
- - personal
+ - cats
+description: My first blog post, describing the original Jekyll blog and a migration to Astro.
---
## Eli, the three legged cat
-![Image of Eli]({{site.url}}{{site.baseurl}}/assets/jVNLPaR.jpg)
+![Image of Eli](/assets/jVNLPaR.jpg)
My wife and I have a BUNCH of cats, but our oldest boy cat is 14
and just survived a battle with a cancerous tumor in his leg.
@@ -22,7 +27,7 @@ Unfortunately, the result was a very agitated three legged cat.
A few months later though, he's happy and energetic again. Sometimes
I wonder if he ever remembers having four legs. He's adapted to it surprisingly well.
-![Picture of Three Legged Cat]({{site.url}}{{site.baseurl}}/assets/ILGJD3b.jpg)
+![Picture of Three Legged Cat](/assets/ILGJD3b.jpg)
(Wilson is making an appearance in the image above)
@@ -53,7 +58,7 @@ are registered via microchip to get into the office.
I occasionally spot the other cats peeking in, jealous of the special portal that only allows in select creatures. It has to
appear as magic to them, and I know some of them have attempted to open the door, only to find it locked and unable to be opened.
-![Image of Cat peeking through cat door]({{site.url}}{{site.baseurl}}/assets/EZb9cQ7.jpg)
+![Image of Cat peeking through cat door](/assets/EZb9cQ7.jpg)
Thankfully, our objective has been complete. Eli has total freedom to enter and exit the office all day long. It always
impresses me how technology can be creatively used for functional purposes outside of the originally intended purpose.
diff --git a/astro/astro-paper-main/src/layouts/GoogleAnalytics.astro b/astro/astro-paper-main/src/layouts/GoogleAnalytics.astro
new file mode 100644
index 00000000..5d28aed3
--- /dev/null
+++ b/astro/astro-paper-main/src/layouts/GoogleAnalytics.astro
@@ -0,0 +1,23 @@
+---
+type Props = { measurementId: string }
+const props = Astro.props as Props
+const measurementId = props.measurementId
+---
+
+
\ No newline at end of file
diff --git a/astro/astro-paper-main/src/layouts/Layout.astro b/astro/astro-paper-main/src/layouts/Layout.astro
index 991805f8..ba61c57f 100644
--- a/astro/astro-paper-main/src/layouts/Layout.astro
+++ b/astro/astro-paper-main/src/layouts/Layout.astro
@@ -2,6 +2,7 @@
import { LOCALE, SITE } from "@config";
import "@styles/base.css";
import { ViewTransitions } from "astro:transitions";
+import GoogleAnalytics from "./GoogleAnalytics.astro";
const googleSiteVerification = import.meta.env.PUBLIC_GOOGLE_SITE_VERIFICATION;
@@ -76,6 +77,9 @@ const structuredData = {
+
+
+
{
pubDatetime && (