From 110dc2831488937c1afb70c11657a341912fc8cd Mon Sep 17 00:00:00 2001 From: Peter Nguyen Date: Wed, 5 Feb 2025 00:44:12 -0600 Subject: Initial commit 2/25/2025 --- projects/peten-ca.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 projects/peten-ca.html (limited to 'projects') diff --git a/projects/peten-ca.html b/projects/peten-ca.html new file mode 100644 index 0000000..1a05fd0 --- /dev/null +++ b/projects/peten-ca.html @@ -0,0 +1,115 @@ + + + + + + peten.ca | blog posts + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ ← PROJECTS + + JANUARY, 2025 + +
+
+ +
+

peten.ca

+

or: running ethernet cable in my basement's drop ceiling at 1:00AM

+

+ NGINX on Debian, purchasing a domain on porkbun, and the making of this site (special hatred + reserved for CSS) + +

+ One fateful day, I decided that I should put my old computer to use. The thing was, and still is, pretty + junky - but it's definitely enough to host these pages, maybe have a little NAS, stuff like that. It's got a + Core i3 2100, RX460, 8gb of DDR3... you can see where I'm going with this. It wasn't good when I built it in + 2017, but it served me well and I figured that it deserved a second life. +

+ On a whim, I set it up on a table in my basement, with the monitor I originally had bought (cost me 40$ in + 2017 - 4:3 aspect ratio, 1280x1024, not exactly "premium"). I remembered live-booting Linux Mint back in + like 2018, and so tried to make some installation media for Debian assuming that I pretty much knew all the + steps to burn the ISO onto a flash drive and boot into it. It was not that easy. +

+ To spare you from the pain that I had to endure, just know that I tried a million different things with no + success for like 3 hours until I had the bright idea to disconnect the machine's 250gb hard drive's SATA + cable, force the BIOS into the "machine failed to boot - drive not detected menu," insert the flash drive, + and then press enter as if I had attached a bootable drive. I tried literally every option in the boot from + media menu, changed boot orders in the BIOS, remade the boot media a million times - I tried lots. Once I + got everything set up, all was looking okay. +

+ The next day, I made a very foolish mistake. You know, because you're alright, I'll admit to it. I + accidentally typed rm /* into the terminal. I THOUGHT that it wouldn't do anything, because I didn't add the + -r tag to remove things recursively, but I guess I was wrong. Regardless, I had to reinstall Debian. Image + below for your enjoyment. +

+ +

+ After that was all good, I purchased a domain on porkbun.com, got NGINX set up on the Linux machine, and + started work on the HTML and CSS for this site. If you'd like some advice, here you go: +

+ If you need help, you can use ChatGPT. Nobody will rat you out. When I was making a page on Github sites way + back when, I remember being VERY confused as to how to center a div, or align text. Nowadays, you can ask a + machine to do it for you. Holy robots! +

+ You should probably use some CSS framework like Tailwind, Bootstrap, etc. for your work. I have Bootstrap on + here, but I rarely use it. Take the time to read the docs, and use it. If you want to be good - yeah, it's a + shortcut. You need to understand the "box model" for sure, but for the layman, most of the work is already + done for you. + Just add the classes to your stuff and move on with your life. +

+ If you are making something more than a static site, then use JS and a JS framework (React, Vue, Svelte, + whatever man). I am not trying to flash my webdev skills with this site, but if I was, it would be one of + those awesome one-pagers with a bunch of animations and transitions and it'd be hideously + resource-intensive. +

+ Anyways, I'm getting tired of writing this. Call it a working project post. +

+ All the best. +

+ Peter +

+
+ + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3