Updated: 2025-12-28 Sun 19:48

# web-port-notes

planted: 2024-12-17 last tended to: 2025-12-28

## <2025-11-06 Thu> old sitemap for blogs:

(defun zz/2025-sitemap (title list) “sitemap that lists 2025 links as bullet points with dates and tags.” (concat “#+TITLE: ” title “\n” “#+OPTIONS: toc:nil num:nil \n\n” “See the categories: Categories\n\n” “* 2025:\n” (mapconcat (lambda (entry) (let* ((link (car entry)) ;; extract relative file name from the link (filename (if (string-match “\\[\\[file:\\([^]]+\\)\\]” link) (match-string 1 link) link)) (full-path (expand-file-name filename “~/master-folder/orgfiles/orgweb/blogs/2025/”)) (date-str “no date”) (tags-str “”)) ;; Get publish date (let ((date (org-publish-find-date full-path org-publish-project-alist))) (when date (setq date-str (format-time-string “%d-%m-%Y %H:%M” date)))) ;; Get FILETAGS from file buffer (when (file-exists-p full-path) (with-temp-buffer (insert-file-contents full-path) (org-mode) (let* ((tags (cadr (assoc “FILETAGS” (org-collect-keywords ’(“FILETAGS”)))))) (when tags (setq tags-str (mapconcat (lambda (tag) (format “ %s ” tag tag)) (split-string tags “:” t) ;; <- Splits by “:” and removes empty strings “ ”)))))) ;; Final line output (format “- %s %s %s” link date-str tags-str))) (cdr list) “\n”)))

## Footnotes and sidenotes

Here is a list of macros:

    (setq org-export-global-macros
          (append
           '(

         ("sidenote"
          . "@@html:<label for=\"sn$1\" class=\"margin-toggle sidenote-number\"></label><input type=\"checkbox\" id=\"sn$1\" class=\"margin-toggle\"/><span class=\"sidenote\">$2</span>@@")

         ("epigraph"  . "@@html:<div class=\"epigraph\"><blockquote>$1<footer>$2</footer></blockquote></div>@@")

         ("epigraph_single"  . "@@html:<div class=\"epigraph\"><blockquote>$1</blockquote></div>@@")

         ("epigraph3" . "@@html:<div class=\"epigraph\"><blockquote>$1<footer>$2, <cite>$3</cite></footer></blockquote></div>@@")

         ("kbd"       . "@@html:<kbd>$1</kbd>@@@@latex:\\texttt{$1}@@")

         ("margimg"
          . "@@html:<aside class=\"marginnote\"><figure class=\"mn-fig\"><img src=\"$1\" alt=\"$2\" class=\"mn-img\" loading=\"lazy\" decoding=\"async\"/>$3</figure></aside>@@")

             org-export-global-macros)))

They are used as follows:

1

Use footnotes as follows:

## Blorgz

### ideas:

### Personal Growth & Self-Improvement

1. The Power of Journaling: How Writing Every Day Can Transform Your Life
   - Exploring the benefits of journaling for mental clarity, goal setting, and emotional processing.
2. The Science of Happiness: What Really Makes Us Happy?
   - A deep dive into the psychology and neuroscience of happiness and how to apply it to daily life.
3. Building a Growth Mindset: How to Shift from a Fixed to a Growth-Oriented Outlook
   - Practical steps and insights on adopting a growth mindset for personal and professional development.
4. How to Set and Achieve Long-Term Goals
   - A structured approach to setting clear, actionable goals and staying motivated over time.
5. Embracing Failure: How to Learn and Grow from Setbacks
   - Understanding the importance of failure and how to reframe it as an opportunity for growth.

### Mental Health & Well-being

1. Dealing with Anxiety: Techniques to Cope and Build Resilience
   - Mindfulness, cognitive-behavioral strategies, and lifestyle changes that help manage anxiety.
2. How to Build Emotional Intelligence (EQ) for Better Relationships
   - Tips for recognizing, understanding, and managing your own emotions, and how to navigate others’ emotions.
3. The Importance of Sleep for Mental and Physical Health
   - Why sleep is crucial for your overall well-being, along with tips for improving your sleep hygiene.
4. How to Practice Self-Compassion and Be Kinder to Yourself
   - Exploring the importance of self-compassion and how to stop being your own harshest critic.
5. Breaking the Cycle of Negative Self-Talk
   - How to identify, challenge, and reframe the negative thoughts that hold you back.

### Lifestyle & Balance

1. Minimalism: How Decluttering Your Life Can Lead to More Freedom
   - A guide to adopting a minimalist lifestyle, including decluttering your home, work, and digital space.
2. The Importance of Work-Life Balance and How to Achieve It
   - Strategies for maintaining a healthy balance between your career, personal life, and self-care.
3. How to Create a Morning Routine That Sets You Up for Success
   - A step-by-step guide to designing a morning routine that boosts your productivity and mindset.
4. The Power of Saying ’No’: Setting Boundaries to Protect Your Time and Energy
   - How to say no gracefully and why it’s important for your mental health and well-being.
5. Building Strong Relationships: The Art of Effective Communication
   - How to communicate more clearly and empathetically in both personal and professional settings.

### Life Philosophy & Reflection

1. Living with Purpose: How to Find Your Life’s Meaning
   - A philosophical exploration of how to align your actions with your core values and life purpose.
2. Stoicism for Modern Life: How Ancient Philosophy Can Help You Thrive Today
   - Applying Stoic principles to improve resilience, clarity, and calm in the face of challenges.
3. The Concept of ‘Ikigai’: Finding Joy and Fulfillment in Your Work and Life
   - Exploring the Japanese philosophy of Ikigai and how to apply it for greater fulfillment and balance.
4. How to Handle Life Transitions: Moving Forward with Confidence
   - Tips for navigating big life changes, from job shifts to personal transformations.
5. The Importance of Gratitude: How to Cultivate a Daily Practice for a More Positive Life
   - The science behind gratitude and how to incorporate it into your daily life to increase happiness.

### Productivity in Daily Life

1. Time Management for Busy People: How to Get More Done Without Burning Out
   - Techniques like time blocking, prioritization, and task batching to make your day more productive.
2. Overcoming Overwhelm: How to Tackle Large Tasks Without Feeling Stressed
   - Breaking down big tasks into manageable chunks to prevent feelings of stress or burnout.
3. The Importance of Play and Fun in a Productive Life
   - How leisure and play are just as important for mental health and long-term productivity.
4. How to Stay Motivated During Long-Term Projects
   - Strategies for maintaining motivation and momentum over the course of a long, challenging task.
5. Creating a Digital Detox: How to Unplug and Recharge
   - The benefits of taking time away from screens and how to implement a healthy digital detox.

### my emacs.config

- wp-emacs-config-blorg

### prefrontal-cortex

- wp-prefront-cortex-blorg

### new emacs config written on: <2025-02-14 Fri>

wp-new-emacs-config-blorg

### urge surfing: <2025-03-14 Fri>

wp-urge-surfing-blorg

### growth mindset

wp-growth-mindset <2025-03-14 Fri>

### emotional intelligence

wp-emotional-intelligence <2025-03-16 Sun>

### reflection on week 12

wp-week-12-reflections

### sadness

wp-sadness

## Commits

### code:

You can add a commit detail by doing this:

    (insert-commit-template)
    ;; "SPC c i c"

### Commit on <2024-12-17 Tue>

#### Details

This commit was focused on getting the blog section ready. So far ive decided to go for a static approach, whereby the blogs are stored in a .json file and populated in an array. The ’slug’ property is found in:

- the title of the file (blog)
- the metadata of the blog
- the metadata of the index.json

These three must be consistent

#### What to work on next:

- the rendering of the content of the blogs
- the github project population: match the blog page stylings.

#### Commit message:

“Worked on the blog page, did stylings and began to populate”

### Commit on <2024-12-18 Wed>

#### Details

Decided to change the way the blog is rendered. Using a json index object to display the list (slug is importnant), then blog detail is displayed as a rendered HTML from a markdown file. The scss was changed as well:

    "node_modules/prismjs/themes/prism-dark.css"

this loads the theme for the code blocks.

#### What to work on next:

- the github project population: match the blog page stylings.

#### Commit message:

“continued work on blog page, stylings are done, the rendering changed from using json to md.”

### Commit on <2024-12-20 Fri>

#### Details

Worked on the github project display, kept the same look as the blogs. Also done the about me section in the homepage (added some random ai generated info - need to change). Also done the contacts (set up a smpt gmail server)

#### What to work on next:

- Get rid of all the hardcoded blogs, and begin first blog.

#### Commit message:

“finished contact section - added smtp gmail server”

### Commit on <2025-01-01 Wed>

#### Details

Deployed (changed back to emailjs)

#### What to work on next:

#### Commit message:

### Commit on <2025-01-12 Sun>

#### Details

- added new blog: prefrontal cortex and self discipline
- added a estimated time to read

#### What to work on next:

more blogs

#### Commit message:

“added new blog”

### Commit on <2025-02-15 Sat>

#### Details

- added tags with persistency. Redid the whole UI (theme)

#### What to work on next:

- add a cv section

#### Commit message:

### Commit on <2025-03-14 Fri>

#### Details

- added quizzes and used firebase for storage

#### What to work on next:

- rendering of images , spending more time on blogs and creating quizzes

#### Commit message:

Backlinks

- Technical MOC