renewal

Jan
01

New Year, New Approach

New Year’s Eve is meant to be a time to connect with friends and family. Not so for me.
4 min read
Dec
31

Renewal

> Every now and then, I feel the need to expand on my level of knowledge or experiences to create
5 min read
Dec
30

Mind Bombs- The Need For Self-Renewal

> Had I not been subject to the darkness, I could not have seen the light. — Midrash (translated from Hebrew)
4 min read

Latest

New Year, New Approach

New Year’s Eve is meant to be a time to connect with friends and family. Not so for me. I have been at home cleaning up my office, doing dishes, and settling down on my couch to catch up on some reading that has been collecting. Reading about what

Renewal

> Every now and then, I feel the need to expand on my level of knowledge or experiences to create a change in myself, whether major or minor. The easiest way for me to do this is by reading an article, blog, or book that I normally wouldn’t find

Mind Bombs- The Need For Self-Renewal

> Had I not been subject to the darkness, I could not have seen the light. — Midrash (translated from Hebrew) Every now and then, I feel the need to expand on my level of knowledge or experiences to create a change in myself, whether major or minor. The easiest way

DigitalOcean Referral Badge

Social Links


Mastodon
document.addEventListener('DOMContentLoaded', function() { // Get all links in the document const links = document.getElementsByTagName('a'); const currentDomain = 'foursides.ca'; const amazonAffiliateTag = 'four0b-20'; // Replace with your Amazon affiliate tag // Process each link Array.from(links).forEach(link => { const href = link.getAttribute('href'); // Skip if link is null, empty, or just a hash if (!href || href === '' || href.startsWith('#')) { return; } try { const url = new URL(href); // Handle Amazon links if (url.hostname.includes('amazon.')) { // Remove any existing tag url.searchParams.delete('tag'); // Add your affiliate tag url.searchParams.set('tag', amazonAffiliateTag); // Update the link attributes link.setAttribute('href', url.toString()); link.setAttribute('target', '_blank'); link.setAttribute('rel', 'nofollow noopener noreferrer'); } // Handle other external links (not Amazon and not internal) else if (!url.hostname.includes(currentDomain)) { // Add referrer parameter url.searchParams.set('ref', 'foursides.ca'); // Update the link attributes link.setAttribute('href', url.toString()); link.setAttribute('target', '_blank'); link.setAttribute('rel', 'nofollow noopener noreferrer'); } } catch (e) { // If URL parsing fails, it's likely a relative URL (internal link) // Do nothing for internal links console.debug('Skipping internal link:', href); } }); });T