Skip to content

Commit

Permalink
Refresh (#189)
Browse files Browse the repository at this point in the history
* feat: refresh

* fix: layout shift

* fix: aria structure

* fix: accessibility

* feat: migrate to contentlayer

* feat: footnotes

* chore: packages
  • Loading branch information
zpuckeridge authored Oct 1, 2024
1 parent 1f297a2 commit b4d7452
Show file tree
Hide file tree
Showing 66 changed files with 3,420 additions and 1,474 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# contentlayer
.contentlayer
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tag: Faith
description: Are gentiles allowed to eat unclean meat?
image: media/wright-brand-bacon-VVtVBLKkrik-unsplash.jpg
imageAlt: "Photo by Wright Brand Bacon on Unsplash "
signature: true
---

Recently, a friend of mine had a run in with people that followed the Old Testament Law. They brought substantial evidence to the table that stood to prove that we, as Gentiles should not eat unclean meat or any food that has been sacrificed to idols. He believed them for a short time, but felt compelled to read up on the subject in a lot more detail and discovered that he had been mislead.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description: How should Christians respond to the stirrings or war? Do we simply
image: media/bing-hui-yau-08t_sI5Al_0-unsplash.jpg
imageAlt: Photo by Bing Hui Yau on Unsplash
lastModified: 2024-07-25
signature: true
---

What is the appropriate Christian response to the onset of conflict or war? Should we opt out of participation altogether, or fulfill our duty by defending our nation? This article serves as an introductory guide to help Christians navigate the complexities of wartime and determine the most ethical course of action.
Expand All @@ -17,11 +18,11 @@ God has given the civil magistrate "the sword" to punish wrongdoers. Consider wh
God has granted rulers the authority to enforce their laws through coercion, including measures such as capital punishment and engaging in warfare. Throughout history, this authority has been wielded for both righteous and unjust causes. When it comes to Christians participating in war, various perspectives exist:

1. Pure pacifism advocates for complete nonviolence under any circumstance.
2. Blind nationalism reflects an uncritical allegiance to one's country, believing it can do no wrong.
3. Finally, the concept of a "just war" suggests that some conflicts may be morally justified under certain conditions.
1. Pure pacifism advocates for complete nonviolence under any circumstance.
2. Blind nationalism reflects an uncritical allegiance to one's country, believing it can do no wrong.
3. Finally, the concept of a "just war" suggests that some conflicts may be morally justified under certain conditions.

**Pure Pacifism**
### Pure Pacifism

This position holds the opinion that no Christian may ever take up arms in self-defence. This includes the defence of one's country, and of themselves. While they are correct in understanding that Christians are called to be pacifists in the sense that we love peace and pursue it, they fail to take into account that the Bible has said that we are permitted to defend ourselves and our families. Consider Exodus 22 and Luke 22:35-37:

Expand All @@ -33,13 +34,13 @@ This position holds the opinion that no Christian may ever take up arms in self-
— Luke 22:35-37

**Blind Nationalism**
### Blind Nationalism

This position holds the opinion that because God has bestowed the power of the sword on the state, that they must be obeyed at all times. In many ways, people that hold this position worship the state as in their eyes, they believe that it can do no wrong. This position fails to take into account that human nature is fundamentally corruptible, and that no system is perfect. We are also called to civil disobedience when our leaders inevitably start to follow a path of corruption or evil. See 1 Kings 18, Joshua 2, Exodus 1, 1 Samuel 14:45, Acts 4:19-20 and Acts 5:29.

I think civil disobedience might be better summed up in its own article, as there is a lot to unpack there.

**The Just War**
### The Just War

The concept of a just war falls between the extremes of pure pacifism and blind nationalism and has been endorsed by numerous Christian thinkers throughout history, including Augustine, Constantine, Thomas Aquinas, and John Calvin.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: 2024-07-09
tag: Faith
description: They must go out and witness to the lost.
lastModified: 2024-07-26
signature: true
---

They must go out and witness to the lost. Nations rise and fall as God judges them. To be a faithful Christian is to evangelise the lost and see souls saved—only then will we see a nations morality improve.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: 2022-10-25
tag: Faith
description: Does the Bible contradict itself?
lastModified: 2024-07-25
signature: true
---

**Contradictory Statements**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Elders and pastors should be good with money
date: 2024-07-26
tag: Faith
description: Do your elders manage their households well?
signature: true
lastModified: 2024-07-26
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
title: "\"Freedom\" isn't freedom."
title: '"Freedom" isn''t freedom.'
date: 2024-08-30
tag: Faith
description: Freedom the way the world sees it isn't freedom - it's slavery.
image: media/deann-dasilva-0jIg_-j_tTc-unsplash.jpg
imageAlt: Photo by Deann DaSilva on Unsplash
lastModified: 2024-08-30
signature: true
---
Freedom isn't freedom if you're enslaved to your flesh. 

If your entire life is realised by decisions that gratify your base desires, are you really operating of your own thoughts and free will? No, you aren't. You are controlled by the desires of your flesh - that isn't freedom. That's slavery—slavery to sin. 
Freedom isn't freedom if you're enslaved to your flesh.

God has offered us the only way to be free from this slavery through the death and resurrection of Jesus Christ for the sins of the world. Although we do not deserve it, He has seen it fit to send His one and only son to bear the punishment for our crimes. 
If your entire life is realised by decisions that gratify your base desires, are you really operating of your own thoughts and free will? No, you aren't. You are controlled by the desires of your flesh - that isn't freedom. That's slavery—slavery to sin.

Not only did we trample and poison His creation, but we also killed God's own son. The fact He does not just destroy us all will always remain a mystery to me. 
God has offered us the only way to be free from this slavery through the death and resurrection of Jesus Christ for the sins of the world. Although we do not deserve it, He has seen it fit to send His one and only son to bear the punishment for our crimes.

God has offered us a second chance - all you must do now is repent and believe in the saving work of Christ on the cross and you will be saved. 
Not only did we trample and poison His creation, but we also killed God's own son. The fact He does not just destroy us all will always remain a mystery to me.

Do you want to be free?
God has offered us a second chance - all you must do now is repent and believe in the saving work of Christ on the cross and you will be saved.

Do you want to be free?
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description: This article seeks to understand what God has said about homosexual
image: media/cecilie-johnsen-G8CxFhKuPDU-unsplash.jpg
imageAlt: Photo by Cecilie Johnsen on Unsplash
lastModified: 2024-07-25
signature: true
---

Before I continue with this article, I'd like to take some time to pray for you, the reader, that the words on this page speak true to your heart and the hearts of others.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description: Does God act recklessly? No, He is the very antithesis of reckless.
image: media/mccall-alexander-W7HQQpi80AA-unsplash.jpg
imageAlt: "Photo by McCall Alexander on Unsplash "
lastModified: 2024-07-25
signature: true
---

The idea that God's love is reckless was popularized by the worship song "Reckless Love" written by Caleb Culver, Cory Asbury and Ran Jackson.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description: The act of suicide is sin because it's subjecting our own will onto
image: media/nikko-macaspac-6SNbWyFwuhk-unsplash.jpg
imageAlt: "Photo by nikko macaspac on Unsplash "
lastModified: 2024-07-25
signature: true
---

**What does the Bible say?**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description: Why I enjoyed 'A Goofy Movie' as an adult.
image: media/a-goofy-movie-2000-af1010c308e44155a276e0f67b07f166.jpg
imageAlt: Max and Goofy - A Goofy Movie
lastModified: 2024-07-16
signature: true
---

It was Wednesday the 14th of July and I was bored out of my mind, so much so I remember wishing for the weekend. My two remaining brain cells had evaporated and I knew it was time to find something to give my brain a break.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Monitor Windows with Grafana and Prometheus
date: 2021-08-03
tag: Technical
description: Monitor your computers performance with Grafana and Prometheus.
signature: true
---

This article covers the installation and configuration process of OhmGraphite to work with Prometheus and send statistics to Grafana.
Expand Down Expand Up @@ -31,7 +32,7 @@ We will be using OhmGraphite as our statistic exporter. Head on over to: [https:

Once you have downloaded the Zip folder, extract it and place the contents in the folder we created earlier.

Now let's edit the `OhmGraphite.exe.config` file to set it up to work with Prometheus.
Now let's edit the OhmGraphite.exe.config file to set it up to work with Prometheus.

Replace the contents of the file with the following code:

Expand Down Expand Up @@ -91,7 +92,7 @@ Once this has been added, restart Prometheus. OhmGraphite will now be picked up

### Grafana Dashboard

In your Grafana installation, import a new dashboard with the following code `11587`.
In your Grafana installation, import a new dashboard with the following code 11587.

This dashboard is pre-configured to look for OhmGraphite export by Prometheus.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: React based Birthday Age Calculator
date: 2023-01-02
tag: Technical
description: Calculate age from a birthdate.
signature: true
---

In this short guide we'll be creating a simple React component that calculates and displays a person's age based on their birthday.
Expand All @@ -28,14 +29,14 @@ export default function Age() {
}
```

First, we create a new function called `Age` using the `export default` syntax, which makes the function available for import in other parts of our application. Inside the function, we create two `Date` objects: `birthday` and `currentDate`. `birthday` is set to September 25, 1999 (my actual birthday!) and `currentDate` is set to the current date.
First, we create a new function called Age using the export default syntax, which makes the function available for import in other parts of our application. Inside the function, we create two Date objects: birthday and currentDate. birthday is set to September 25, 1999 (my actual birthday!) and currentDate is set to the current date.

Next, we create a variable called `age` and set it equal to the difference between the current year and the year of the person's birthday. This will give us the age in years.
Next, we create a variable called age and set it equal to the difference between the current year and the year of the person's birthday. This will give us the age in years.

However, this calculation is not entirely accurate because it doesn't take into account the month and day. For example, if the current date is January 1 and the person's birthday is on December 31, they have not yet had their birthday this year and are technically one year younger.

To fix this, we use an `if` statement to check if the current month and day are before the person's birthday. If it is, we subtract 1 from their age.
To fix this, we use an if statement to check if the current month and day are before the person's birthday. If it is, we subtract 1 from their age.

Finally, we use a `span` element to wrap the age and return it to be rendered on the page.
Finally, we use a span element to wrap the age and return it to be rendered on the page.

And that's it! With just a few lines of code, we've created a simple and effective NextJS and TypeScript component that calculates and displays a person's age.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ title: Resize a Proxmox Virtual Machine
date: 2023-03-19
tag: Technical
description: Short guide on resizing a virtual machine.
signature: true
---

To increase the size of a hard disk, first power off the virtual machine, go to the `Hardware` tab, select the desired hard disk. Then, select `Resize` from the `Disk Action` drop-down menu, input the desired size increment, and select `Resize disk`.
To increase the size of a hard disk, first power off the virtual machine, go to the Hardware tab, select the desired hard disk. Then, select Resize from the Disk Action drop-down menu, input the desired size increment, and select Resize disk.

After resize has completed, start up your virtual machine and login.

Expand All @@ -21,7 +22,7 @@ sda 8:0 0 1T 0 disk
└─ubuntu--vg-ubuntu--lv 253:0 0 31G 0 lvm /
```

Resize the partition with `parted`.
Resize the partition with parted.

```bash
$ sudo parted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description: Jesus, came and suffered our punishment for us. We have already
image: media/patrick-fore-b_SHPU5M3nk-unsplash.jpg
imageAlt: "Photo by Patrick Fore on Unsplash "
lastModified: 2024-07-25
signature: true
---

**What does the Bible say?**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tag: Faith
description: Does the death penalty apply post-Christ? Can it be effectively
used as a deterrant?
lastModified: 2024-07-25
signature: true
---

The interpretation of scripture regarding the death penalty is a topic of hot debate amongst Christians. Some argue that it is mandated, while others question its applicability in the post-Christ era.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description: A primer on the four views of human ability and the reformed positi
image: media/priscilla-du-preez-7aOhiPe6_30-unsplash.jpg
imageAlt: "Photo by Priscilla Du Preez 🇨🇦 on Unsplash "
lastModified: 2024-07-25
signature: true
---

Understanding the Four Views of the Human Ability is an important first step in understanding what makes Reformed theology stand out.
Expand Down
Loading

0 comments on commit b4d7452

Please sign in to comment.