From 810708960ed7d24193db5638d1ffaee173025e41 Mon Sep 17 00:00:00 2001 From: counterweight Date: Mon, 18 Aug 2025 23:33:12 +0200 Subject: [PATCH 1/8] add keybase --- public/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 1097fe2..3122866 100644 --- a/public/index.html +++ b/public/index.html @@ -75,11 +75,11 @@

  • - On Nostr. My npub is: - npub1a29gdc6p7c05az2ka3qwwpl9kfcqmws3xlwmjefmtkulfhgd7u6shuqatg + On keybase: https://keybase.io/pablomartincalvo.
  • -

    At this stage I'm not open to other contacts.

    + On Nostr. My npub is: + npub1a29gdc6p7c05az2ka3qwwpl9kfcqmws3xlwmjefmtkulfhgd7u6shuqatg
  • From d954c592c0f79381a9e1fe97025c315a94a349e6 Mon Sep 17 00:00:00 2001 From: counterweight Date: Mon, 18 Aug 2025 23:34:29 +0200 Subject: [PATCH 2/8] bad tag --- public/index.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/index.html b/public/index.html index 3122866..c7d4697 100644 --- a/public/index.html +++ b/public/index.html @@ -69,10 +69,8 @@

    You can contact me on:

    There are also some other projects that I generally keep private but diff --git a/public/styles.css b/public/styles.css index 690b8b1..e7908b3 100644 --- a/public/styles.css +++ b/public/styles.css @@ -7,7 +7,8 @@ body { h1, h2, -h3 { +h3, +h4 { text-align: center; } From 6b34d08cae7217f45649911b99b58ab9bff3118c Mon Sep 17 00:00:00 2001 From: counterweight Date: Wed, 24 Dec 2025 10:55:22 +0100 Subject: [PATCH 6/8] deploy helper --- .gitignore | 14 ++++++++++++++ deploy.config.example | 21 +++++++++++++++++++++ deploy.sh | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 .gitignore create mode 100644 deploy.config.example create mode 100755 deploy.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8f24f11 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +# Deployment configuration (contains sensitive server details) +deploy.config + +# OS files +.DS_Store +Thumbs.db + +# Editor files +.vscode/ +.idea/ +*.swp +*.swo +*~ + diff --git a/deploy.config.example b/deploy.config.example new file mode 100644 index 0000000..1c84f53 --- /dev/null +++ b/deploy.config.example @@ -0,0 +1,21 @@ +# Deployment Configuration +# Copy this file to deploy.config and fill in your server details +# deploy.config is gitignored to keep your credentials safe + +# Remote server hostname or IP address +REMOTE_HOST="example.com" + +# SSH username for the remote server +REMOTE_USER="username" + +# Remote path where the website should be deployed +# This should be the directory served by your webserver (e.g., /var/www/html, /home/username/public_html) +REMOTE_PATH="/var/www/html" + +# Optional: Path to SSH private key (if not using default ~/.ssh/id_rsa) +# Leave empty to use default SSH key +SSH_KEY="" + +# Optional: SSH port (defaults to 22 if not specified) +# SSH_PORT="22" + diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..5cf9692 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +# Deployment script for pablohere website +# This script syncs the public folder to a remote webserver + +set -e # Exit on error + +# Load deployment configuration +if [ ! -f "deploy.config" ]; then + echo "Error: deploy.config file not found!" + echo "Please copy deploy.config.example to deploy.config and fill in your server details." + exit 1 +fi + +source deploy.config + +# Validate required variables +if [ -z "$REMOTE_HOST" ] || [ -z "$REMOTE_USER" ] || [ -z "$REMOTE_PATH" ]; then + echo "Error: Required variables not set in deploy.config" + echo "Please ensure REMOTE_HOST, REMOTE_USER, and REMOTE_PATH are set." + exit 1 +fi + +# Use rsync to sync files +echo "Deploying public folder to $REMOTE_USER@$REMOTE_HOST:$REMOTE_PATH" +rsync -avz --delete \ + --exclude='.git' \ + --exclude='.DS_Store' \ + $SSH_OPTS \ + public/ \ + $REMOTE_USER@$REMOTE_HOST:$REMOTE_PATH + +echo "Deployment complete!" + From ea3d5a7c3ecf4d9e2e041f872dc5a823b669483d Mon Sep 17 00:00:00 2001 From: counterweight Date: Wed, 24 Dec 2025 10:57:26 +0100 Subject: [PATCH 7/8] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b448f02..32ee0c7 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,6 @@ The `index.html` is ready in the `public` folder. ## How to deploy -Somehow get the `public` folder behind a webserver manually and sort out DNS. +1. Copy `deploy.config.example` to `deploy.config` +2. Fill in your server details in `deploy.config` (host, user, remote path) +3. Run `./deploy.sh` to sync the `public` folder to your remote webserver From ae87f3838c564c39b87305fde5e8cf637d0b5fbd Mon Sep 17 00:00:00 2001 From: counterweight Date: Sun, 4 Jan 2026 01:13:15 +0100 Subject: [PATCH 8/8] zfs writings --- public/index.html | 12 ++ .../a-degraded-pool-with-a-healthy-disk.html | 133 +++++++++++++ .../fixing-a-degraded-zfs-mirror.html | 188 ++++++++++++++++++ .../why-i-put-my-vms-on-a-zfs-mirror.html | 120 +++++++++++ 4 files changed, 453 insertions(+) create mode 100644 public/writings/a-degraded-pool-with-a-healthy-disk.html create mode 100644 public/writings/fixing-a-degraded-zfs-mirror.html create mode 100644 public/writings/why-i-put-my-vms-on-a-zfs-mirror.html diff --git a/public/index.html b/public/index.html index e4c5a83..1c18d0d 100644 --- a/public/index.html +++ b/public/index.html @@ -147,6 +147,18 @@

    Writings

    Sometimes I like to jot down ideas and drop them here.