Big Sur Adventure
- -Exploring the stunning coastline and trails of Big Sur with Copper.
-diff --git a/book.toml b/book.toml index d61789e..be82188 100644 --- a/book.toml +++ b/book.toml @@ -12,7 +12,6 @@ smart-punctuation = true git-repository-url = "https://forgejo.binning.net/matthew.binning/www" edit-url-template = "https://forgejo.binning.net/matthew.binning/www/src/branch/main/{path}" additional-css = ["theme/sepia.css"] -additional-js = ["theme/navbar.js"] no-section-label = true fold.enable = true fold.level = 0 diff --git a/common.nginx.nix b/common.nginx.nix deleted file mode 100644 index 02a5c24..0000000 --- a/common.nginx.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - # Common configuration shared between staging and prod - - # This file contains nginx settings that are identical across environments - # Import this in both staging.nginx.nix and prod.nginx.nix - - services.nginx = { - # Recommended settings - recommendedGzipSettings = true; - recommendedOptimisation = true; - recommendedProxySettings = true; - }; - - # Common location configurations that can be reused - # These are defined as library functions - lib.nginxLocations = { - # Standard root location with SSI support - rootLocation = { - index = "index.html"; - tryFiles = "$uri $uri/ =404"; - extraConfig = '' - # Enable Server Side Includes for navbar/footer includes - ssi on; - ''; - }; - - # Private blog articles location with HTTP basic authentication - privateLocation = { - extraConfig = '' - auth_basic "Private Articles"; - auth_basic_user_file /srv/nginx/.htpasswd; - - # Enable Server Side Includes - ssi on; - ''; - }; - - # Common extraConfig for custom 404 - custom404 = '' - error_page 404 /404.html; - ''; - }; -} diff --git a/deploy.sh b/deploy.sh index 153fb13..afc1ca8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -15,6 +15,10 @@ fi CMD=$1 case $CMD in + sync) + rsync -avz src/ /var/lib/www/ + ;; + build) printf "Building blog with mdbook...\n" [ -s src ] || ln -s /var/lib/www src @@ -30,8 +34,7 @@ case $CMD in sudo mkdir -p ${STAGING_PATH} printf "Deploying website files...\n" - sudo rsync -av --delete main/* ${STAGING_PATH}/ - sudo rsync -av --delete blog ${STAGING_PATH}/ + sudo rsync -av --delete blog/ ${STAGING_PATH}/ sudo chown -R nginx:nginx ${STAGING_PATH}/ @@ -50,9 +53,9 @@ case $CMD in fi printf "Deploying website files...\n" - ssh ${REMOTE_USER}@${REMOTE_HOST} "mkdir -p /tmp/${REMOTE_PATH}" - rsync -avz --delete main/ blog ${REMOTE_USER}@${REMOTE_HOST}:/tmp/${REMOTE_PATH}/ - ssh ${REMOTE_USER}@${REMOTE_HOST} "sudo rsync -avz --delete /tmp/${REMOTE_PATH}/ ${REMOTE_PATH}/ && \ + ssh ${REMOTE_USER}@${REMOTE_HOST} "mkdir -p /tmp/blog-deploy" + rsync -avz --delete blog/ ${REMOTE_USER}@${REMOTE_HOST}:/tmp/blog-deploy/ + ssh ${REMOTE_USER}@${REMOTE_HOST} "sudo rsync -avz --delete /tmp/blog-deploy/ ${REMOTE_PATH}/ && \ sudo chown -R nginx:nginx ${REMOTE_PATH}/ && \ printf 'Content deployed.\n'" @@ -65,7 +68,7 @@ case $CMD in LOCAL_PATH="/srv/www/binning.net" printf "Deploying website files...\n" - rsync -av --delete main/ blog ${LOCAL_PATH}/ + rsync -av --delete blog/ ${LOCAL_PATH}/ printf "✓ Local deployment complete!\n Files deployed to: %s\n" "${LOCAL_PATH}" ;; diff --git a/main/404.html b/main/404.html deleted file mode 100644 index 33c62f8..0000000 --- a/main/404.html +++ /dev/null @@ -1,27 +0,0 @@ - - -
- - -The page you're looking for doesn't exist.
-The page you requested could not be found. It may have been moved, deleted, or never existed.
- -Stories, adventures, and reflections from life's journey
-Adventures and travels with Copper, exploring the beautiful outdoors.
-Exploring the stunning coastline and trails of Big Sur with Copper.
-A day in the field with friends, shotguns, and good company.
-Mountain adventures in Northern California.
-Personal thoughts and journeys on health, faith, and life.
-Reflections on physical and mental wellness.
- 🔒 Private -Personal spiritual reflections and growth.
- 🔒 Private -Special moments and memorable experiences.
-Notes and reflections from DefCon.
- 🔒 Private -Celebrating traditions and community.
- 🔒 Private -A celebration of freedom and fireworks.
-Family recipes and culinary experiments.
-Traditional Irish recipes - corned beef, lamb stew, soda bread, and more.
-Holiday favorites including eggnog, gingerbread fruitcake, and meatloaf.
-Lamb stir fry and berry compote from April 2024.
-Trail-ready recipes and energy bars for adventures.
-Drinks, snacks, sides, and external recipe links.
-Browse all recipe collections in one place.
-Welcome to Matt's personal website, blog, and landing page for other self-hosted software.
-
- Email: matthew@binning.net
-Hi, my name is Matt. I am a software engineer living in the West. My interests include software, defense, EW, drones, and data security and privacy.
-Other personal interests of mine include linguistics, philosophy, and theology, to name a few.
-This website serves as a space to share musings, stories, and chronicles, about all of those things.
-The Copper Chronicle contains stories and memories from various trips and experiences. More to come as this site develops.
-The title of this website you may recognize as a surname. I am also interested in family history and genealogy. If you have some relation or interest to this surname, please feel free to reach out. I am planning a genealogical project.
-A curated selection from our recipe collection.
-Freshly brewed artisan coffee using the pour-over method for a clean, flavorful cup.
-Coffee beans, hot water
- -A cozy Earl Grey tea latte sweetened with raw honey.
-Earl Grey tea, manuka honey, steamed milk
- -Rich, full-bodied coffee brewed with a French press.
-Coarse ground coffee, hot water
- -Creamy, protein-packed shake with berries and natural sweetness.
-Heavy cream, milk, blackberries, Medjool dates, vanilla whey protein, vanilla extract, manuka honey, peanut butter
-Creamy, dairy-free dip perfect with crackers or vegetables.
-Artichoke hearts, fresh spinach, cashew cream, nutritional yeast, garlic, lemon juice, salt, pepper
- -Sweet and savory bites with bacon-wrapped goat cheese stuffed dates.
-Medjool dates, goat cheese, bacon strips, optional honey, optional almonds
-Moist, sweet bread loaded with chocolate chips.
-Ripe bananas, flour, sugar or sweetener, eggs, butter or oil, chocolate chips, baking soda, vanilla extract, salt
-Hearty breakfast scramble with sweet potato, black beans, and ground beef in green enchilada sauce.
-Eggs, ground beef, sweet potato, black beans, green enchilada sauce, onions, cumin, chili powder
- -Protein-packed purple potato pancakes with a unique color and flavor.
-Purple potatoes, eggs, protein powder, oat flour, baking powder, cinnamon, salt, milk
-Rich, creamy holiday classic with raw cultured cream and peppermint.
-Raw cultured cream, raw eggs, vanilla extract, nutmeg, raw honey, peppermint tea, cacao nibs
- -Spiced muffins packed with dried fruits and nuts.
-Pastry flour, baking soda, buttermilk, butter, allulose, eggs, molasses, dried fruits, chopped nuts, cinnamon, cloves, ginger, salt, vanilla extract
-Warm roasted peaches with honey, mint, and vanilla ice cream.
-Fresh peaches, honey, fresh mint leaves, vanilla ice cream, butter, optional cinnamon
-Unique burgers with liver, lion's mane mushrooms, and pistachio crust.
-Beef liver, lion's mane mushrooms, ground beef, crushed pistachios, seasonings
- -Fresh salmon served over coconut rice with cabbage slaw and mango.
-Salmon fillet, coconut rice, cabbage slaw, fresh mango, sesame seeds
- -Simple, satisfying steak paired with crispy broccoli.
-Steak, fresh broccoli florets, olive oil, salt, pepper, garlic powder
-Colorful medley of seasonal vegetables roasted to perfection.
-Mixed vegetables (Brussels sprouts, carrots, bell peppers, zucchini), olive oil, salt, pepper, herbs (rosemary, thyme), garlic
- -Thick-cut roasted cabbage with optional balsamic glaze.
-Cabbage, olive oil, salt, pepper, garlic powder, optional balsamic glaze
-Professional Experience & Skills
-Experienced software engineer with expertise in systems engineering, cloud infrastructure, and full-stack development. Passionate about building reliable, scalable solutions using modern technologies.
-Focus on software engineering, algorithms, and systems programming.
-Designed and deployed a complete self-hosted solution including:
-Built a simple, reliable website using primitive technologies (HTML/CSS) focused on performance and maintainability.
-Email: example@example.com
-GitHub: forgejo.binning.net
-