From 4ec03361902f5ccde1d52e1fff00782fddfcbc9a Mon Sep 17 00:00:00 2001
From: "Zack M. Davis" <ultimatelyuntruethought@gmail.com>
Date: Sat, 30 Dec 2023 09:33:01 -0800
Subject: [PATCH] check in

---
 notes/notes.txt         |  2 ++
 notes/patriate_links.py | 31 +++++++++++++++++++++++++++++++
 notes/tech_tasks.txt    |  1 +
 3 files changed, 34 insertions(+)
 create mode 100755 notes/patriate_links.py

diff --git a/notes/notes.txt b/notes/notes.txt
index 422d781..ac5d639 100644
--- a/notes/notes.txt
+++ b/notes/notes.txt
@@ -3377,3 +3377,5 @@ https://www.theknownheretic.com/p/sex-mimics-are-mimicspart-1
 https://benexdict.io/p/math-team
 
 https://thepostmillennial.com/trans-runner-shatters-womens-sprinting-record-only-one-year-after-earning-19th-place-in-male-competition
+
+https://www.reddit.com/r/MtF/comments/18tggaq/i_get_aroused_when_i_have_gender_euphoria_is_that/
diff --git a/notes/patriate_links.py b/notes/patriate_links.py
new file mode 100755
index 0000000..1781b75
--- /dev/null
+++ b/notes/patriate_links.py
@@ -0,0 +1,31 @@
+#!/usr/bin/python3
+
+import re
+import sys
+
+# Python script to rewrite Markdown links and remove anchors
+# mostly by GPT-4
+
+# Define the path for the input and output files
+input_file_path = sys.argv[1]
+output_file_path = "out.md"
+
+# Define the regular expression patterns for Markdown links and anchors
+markdown_link_pattern = re.compile(r'\]\(/(\d{4}/\w{3}/[-\w]+/)\)')
+anchor_pattern = re.compile(r'<a id="[-\w]+"></a>')
+
+# Read the content of the original markdown file
+with open(input_file_path, 'r') as file:
+    content = file.read()
+
+# Replace the Markdown links with the new format
+rewritten_content = markdown_link_pattern.sub(r'](http://unremediatedgender.space/\1)', content)
+
+# Remove the anchors
+rewritten_content = anchor_pattern.sub('', rewritten_content)
+
+# Write the rewritten content to a new file
+with open(output_file_path, 'w') as file:
+    file.write(rewritten_content)
+
+print(f"rewritten markdown has been saved to {output_file_path}")
diff --git a/notes/tech_tasks.txt b/notes/tech_tasks.txt
index e8702da..611a0be 100644
--- a/notes/tech_tasks.txt
+++ b/notes/tech_tasks.txt
@@ -1,3 +1,4 @@
+social media share card https://dev.to/mishmanners/how-to-add-a-social-media-share-card-to-any-website-ha8
 relative URLs = False (but not broken)
 make Markdown native footnote CSS match the plugin-based footnotes
 undo the Slate Starchive links
-- 
2.17.1