···1---
2-title: Welcome to the Cowsay!
3date: 2023-10-15
4-summary: Welcome to the cowsay! A simple blog centered around cows.
5cowsay: Hello World!
6---
7···910## Hey there
1112-Welcome to the cowsay! A simple blog centered around cows.
13I decided to make this blog as a way to track my progress in learning new things.
14I hope you enjoy your stay!
1516This first post is going into a bit of detail about how I made this blog.
17-Currently the site uses Astro so I'm going to stick with that for now.
1819## Making The Basic Blog
20···39```
4041This contains the metadata each blog post will need to have in order for my site
42-to render it. That `cowsay` is a bit special.
4344-Then, we simply export an object named `collections` which Astro will then pick
45up and generate TS bindings for.
4647```ts
···50};
51```
5253-Now we can get to writing some content! To do so simply make a folder with the
54same name as the _key_ of the collection you want to write for. In this case, `posts`.
5556-Then create a markdown file within and start writing! Here's a little excerpt
57of what [this page looks like](https://github.com/Bwc9876/portfolio-site/tree/main/src/content/posts/hello_world.mdx):
5859```md
60---
61-title: Welcome to the Cowsay!
62date: 2023-10-15
63-summary: Welcome to the cowsay! A simple blog centered around cows.
64cowsay: Hello World!
65---
6667-## Hey there!
68-69-Welcome to the cowsay! A simple blog centered around cows.
70-I decided to make this blog as a way to track my progress in learning new things.
71-I hope you enjoy your stay!
72```
7374The frontmatter is the part between the `---` and `---`. This is where you put
···118 }
119</Layout>
120```
121-122-
123124Great! I'll probably fiddle with it in the future but it's a good start. Now we need to make a page for each post.
125To make my URLs look nice I'm going to create a subfolder within `blog` called `posts` and then place a `[...slug].astro` in there.
···233}
234```
235236-
237-238## The Cowsay
239240Now for the fun part. I want to make a little cow that says something in the header of each post. I'm going to use the `cowsay` field in the frontmatter to do this.
···293294<CowSay color="warn" e="><" text="Warning!" />
295<CowSay color="info" e="^^" T="U" text="Info!" />
296-297-I'll hold off on making an error one for now. Lest the cows get too angry.
298299## Conclusion
300
···1---
2+title: Welcome to my blog!
3date: 2023-10-15
4+summary: How I built my blog
5cowsay: Hello World!
6---
7···910## Hey there
11012I decided to make this blog as a way to track my progress in learning new things.
13I hope you enjoy your stay!
1415This first post is going into a bit of detail about how I made this blog.
01617## Making The Basic Blog
18···37```
3839This contains the metadata each blog post will need to have in order for my site
40+to render it.
4142+Then, we export an object named `collections` which Astro will pick
43up and generate TS bindings for.
4445```ts
···48};
49```
5051+Now we can get to writing some content! Make a folder with the
52same name as the _key_ of the collection you want to write for. In this case, `posts`.
5354+Then create a markdown file and start writing! Here's a little excerpt
55of what [this page looks like](https://github.com/Bwc9876/portfolio-site/tree/main/src/content/posts/hello_world.mdx):
5657```md
58---
59+title: Welcome to my blog!
60date: 2023-10-15
61+summary: How I built my blog.
62cowsay: Hello World!
63---
6465+## Hey there
000066```
6768The frontmatter is the part between the `---` and `---`. This is where you put
···112 }
113</Layout>
114```
00115116Great! I'll probably fiddle with it in the future but it's a good start. Now we need to make a page for each post.
117To make my URLs look nice I'm going to create a subfolder within `blog` called `posts` and then place a `[...slug].astro` in there.
···225}
226```
22700228## The Cowsay
229230Now for the fun part. I want to make a little cow that says something in the header of each post. I'm going to use the `cowsay` field in the frontmatter to do this.
···283284<CowSay color="warn" e="><" text="Warning!" />
285<CowSay color="info" e="^^" T="U" text="Info!" />
00286287## Conclusion
288
+3-3
src/content/posts/wip_screen_captures.md
···1---
2-title: Work In Progress Friday - Screen Captures
3date: 2024-07-25
4summary: An adventure in making scripts to capture screen shots and recordings.
5cowsay: A picture is worth a thousand words
···137138And that's it! I now have a fairly robust screenshot script.
139140-### Calling the Screenshot script
141142Now in terms of actually calling it I'll be binding it to `Win` + `Shift` + `S` in Hyprland, as well
143as `PrintScreen`.
···265}
266```
267268-### Calling the Recording script
269270Now to actually call the script, I'll bind it to `Win` + `Shift` + `R` in Hyprland.
271
···1---
2+title: Custom Screen Capture Flow
3date: 2024-07-25
4summary: An adventure in making scripts to capture screen shots and recordings.
5cowsay: A picture is worth a thousand words
···137138And that's it! I now have a fairly robust screenshot script.
139140+### Screenshot Invocation
141142Now in terms of actually calling it I'll be binding it to `Win` + `Shift` + `S` in Hyprland, as well
143as `PrintScreen`.
···265}
266```
267268+### Start/Stop Recording
269270Now to actually call the script, I'll bind it to `Win` + `Shift` + `R` in Hyprland.
271
+3-5
src/content/projects/portfolio-site.mdx
···1---
2name: Portfolio Site
3-summary: The site you're currently looking at. (trippy)
4tags:
5 - web
6 - astro
···18import ExtLink from "@components/ExtLink.astro";
19export const components = { a: ExtLink };
2021-This is the site you're looking at, it was made in [Astro](https://astro.build)
22-and the styling used is [Pico CSS](https://picocss.com/).
2324After using my [GitHub profile](https://github.com/Bwc9876) as a portfolio for a
25few years I decided to switch things up and make a site,
26it was a good opportunity to learn some more about Astro's
27amazing content system and other features.
2829-Its styling is fairly simple, nothing too flashy.
30-But I'm happy with how it turned out, nice and simple.
···1---
2name: Portfolio Site
3+summary: The site you're currently looking at
4tags:
5 - web
6 - astro
···18import ExtLink from "@components/ExtLink.astro";
19export const components = { a: ExtLink };
2021+This is the site you're looking at, it was made in [Astro](https://astro.build).
02223After using my [GitHub profile](https://github.com/Bwc9876) as a portfolio for a
24few years I decided to switch things up and make a site,
25it was a good opportunity to learn some more about Astro's
26amazing content system and other features.
2728+Its styling is meh, but It's good enough for me and isn't _too_ atrocious.
0
···5import { Image } from "astro:assets";
6---
78-<Layout title="Ben C's Portfolio" appendTitle={false}>
9 <div class="hero">
10 <div>
11- <h1>Ben C's <span class="gradient-text">Portfolio</span></h1>
12 <p>
13 I'm Ben C, a college student looking to enter software development, specifically full-stack
14 web development.
···17 I like to try a lot of things, from <a href="/projects/ow-new-horizons"> modding games</a>
18 to building
19 <a href="/projects/menagerie">websites</a> and
20- <a href="/projects/ow-mod-man">desktop apps</a>.<br /> I enjoy pretty much any aspect of software
21- development.
22 </p>
23 <div class="ctas">
24 <a href="/projects" role="button" class="secondary">View My Projects</a>
···5import { Image } from "astro:assets";
6---
78+<Layout title="Ben C's Website" appendTitle={false}>
9 <div class="hero">
10 <div>
11+ <h1><span class="gradient-text">Ben C's</span> Website</h1>
12 <p>
13 I'm Ben C, a college student looking to enter software development, specifically full-stack
14 web development.
···17 I like to try a lot of things, from <a href="/projects/ow-new-horizons"> modding games</a>
18 to building
19 <a href="/projects/menagerie">websites</a> and
20+ <a href="/projects/ow-mod-man">desktop apps</a>.<br /> I enjoy every aspect of software development.
021 </p>
22 <div class="ctas">
23 <a href="/projects" role="button" class="secondary">View My Projects</a>