generated from chadbaldwin/simple-blog-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partial implementation, bmac not working
- Loading branch information
Showing
15 changed files
with
1,700 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- // TODO figure out why this isn't working --> | ||
<div style="display: flex; justify-content: center; align-items: center; margin-bottom: 2em"> | ||
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="codingsteve" data-color="#FFDD00" data-emoji="💡" data-font="Bree" data-text="Help Keep This Site Running" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ import type { Site, SocialObjects } from "./types"; | |
export const SITE: Site = { | ||
website: "https://stevenpg.com/", // replace this with your deployed domain | ||
author: "StevenPG", | ||
profile: "https://satnaing.dev/", | ||
desc: "A minimal, responsive and SEO-friendly Astro blog theme.", | ||
profile: "https://stevenpg.com/", | ||
desc: "My Tech and Life Blog with the writing the articles I wish were written!", | ||
title: "Coding Steve", | ||
ogImage: "astropaper-og.jpg", | ||
lightAndDarkMode: true, | ||
|
@@ -28,122 +28,8 @@ export const LOGO_IMAGE = { | |
export const SOCIALS: SocialObjects = [ | ||
{ | ||
name: "Github", | ||
href: "https://github.com/satnaing/astro-paper", | ||
href: "https://github.com/stevenpg", | ||
linkTitle: ` ${SITE.title} on Github`, | ||
active: true, | ||
}, | ||
{ | ||
name: "Facebook", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Facebook`, | ||
active: true, | ||
}, | ||
{ | ||
name: "Instagram", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Instagram`, | ||
active: true, | ||
}, | ||
{ | ||
name: "LinkedIn", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on LinkedIn`, | ||
active: true, | ||
}, | ||
{ | ||
name: "Mail", | ||
href: "mailto:[email protected]", | ||
linkTitle: `Send an email to ${SITE.title}`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Twitter", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Twitter`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Twitch", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Twitch`, | ||
active: false, | ||
}, | ||
{ | ||
name: "YouTube", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on YouTube`, | ||
active: false, | ||
}, | ||
{ | ||
name: "WhatsApp", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on WhatsApp`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Snapchat", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Snapchat`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Pinterest", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Pinterest`, | ||
active: false, | ||
}, | ||
{ | ||
name: "TikTok", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on TikTok`, | ||
active: false, | ||
}, | ||
{ | ||
name: "CodePen", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on CodePen`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Discord", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Discord`, | ||
active: false, | ||
}, | ||
{ | ||
name: "GitLab", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on GitLab`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Reddit", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Reddit`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Skype", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Skype`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Steam", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Steam`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Telegram", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Telegram`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Mastodon", | ||
href: "https://github.com/satnaing/astro-paper", | ||
linkTitle: `${SITE.title} on Mastodon`, | ||
active: false, | ||
}, | ||
]; |
61 changes: 61 additions & 0 deletions
61
astro/astro-paper-main/src/content/blog/2024-02-04-my-first-post.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
layout: post | ||
title: "My First Post, on My First Blog" | ||
date: 2024-02-04 12:00:00 -0500 | ||
categories: | ||
- story | ||
- tech | ||
--- | ||
|
||
## The Hook | ||
|
||
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! | ||
|
||
## 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 | ||
get this Jekyll thing up off the ground. He created a really cool bootstrapping github template that I | ||
planned on using, but I like to understand tools by messing with them myself. | ||
|
||
His site was the inspiration for this one! | ||
|
||
So I jumped over to [Jekyll's Install][jekyll-install] and got it installed on my Mac. | ||
|
||
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) | ||
|
||
In the spirit of open source, I've been cross referencing Chad's blog | ||
and the official Jekyll documentation. | ||
|
||
Once I got everything installed, I kicked off the process with `gem install jekyll` and | ||
got to creating! | ||
|
||
## Building the Blog | ||
|
||
As soon as I had jekyll installed, I ran `bundle exec jekyll serve`. This created | ||
a _site and .jekyll-cache and started serving my site locally. | ||
|
||
I quickly found myself in over my head at this point, and went through the step by step | ||
tutorial available [on jekyll's docs page](https://jekyllrb.com/docs/step-by-step/01-setup/) | ||
|
||
From there, I created a _layouts folder and set up the format | ||
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) | ||
|
||
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. | ||
|
||
As of this post, that's where I am now! | ||
|
||
I'll be updating the site, and everything (including all my commits and history) will be | ||
available [in the github repository that serves this site!](https://github.com/StevenPG/coding-steve) | ||
|
||
[chadbaldwin.net]: https://chadbaldwin.net | ||
[jekyll-install]: https://jekyllrb.com/docs/installation/macos/ |
64 changes: 64 additions & 0 deletions
64
astro/astro-paper-main/src/content/blog/2024-02-04-the-cat-door.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
layout: post | ||
title: "Freedom of Travel for the Three Legged Cat" | ||
date: 2024-02-06 12:00:00 -0500 | ||
categories: | ||
- story | ||
- personal | ||
--- | ||
|
||
## Eli, the three legged cat | ||
|
||
![Image of Eli]({{site.url}}{{site.baseurl}}/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. | ||
|
||
A month of late night vet visits and over a year of secondary chemotherapy | ||
and he is finally cancer free! | ||
|
||
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) | ||
|
||
(Wilson is making an appearance in the image above) | ||
|
||
So ever since the rounds of chemo (where we had to leave Eli at a vet for hours at a time) | ||
he's become a lot more... needy. | ||
|
||
Unfortunately, as a software developer I spend most of my time every day locked in my office | ||
working or gaming. For the past few years, I get up every 10-30 minutes to let | ||
Eli into the room or out of the room. Sometimes it's so he can use the bathroom, sometimes it's so | ||
he can eat some food or drink water, and other times I think it's just to remind me | ||
that he controls me. | ||
|
||
So I started looking into getting a microchip reading cat door. The reviews for all of the reasonably priced | ||
doors were terrible... so we ended up getting this: [SureFlap Microchip Pet Door](https://www.amazon.com/dp/B009NH6NR0) | ||
|
||
No affiliate links here, odds are this blog will never earn a dime, but I don't mind advertising things that work! | ||
|
||
Speaking of dimes, this door costs MANY. But it's been working perfectly. | ||
|
||
It's taken Eli a few days to figure it out, but he now cries for a few moments to see if he can command me to | ||
open the door for him. If I don't respond, he pushes his little nose through the door (in or out) and jumps inside. | ||
|
||
I can tell he's proud of himself afterward, because he acts a lot more energetic than when I used to just let him in myself. | ||
|
||
The most important part about this door though, is that only the two or three cats that can be trusted (not to destroy everything) | ||
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) | ||
|
||
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. | ||
|
||
What's meant to be a life-saving measure to get an animal back home when they escape (or are let out to roam) can be used | ||
in an automated way to enable functionality. | ||
|
||
It's like my cat has an office badge, and it's crazy convenient! |
Oops, something went wrong.