Skip to Content

Eric Gregorich

Posts on page 4

Installing Linux onto Windows with WSL

Steps for installing WSL, installing Linux, uninstalling Linux, and looking at your versions.

I’m starting to play around with other developer languages, like Ruby, and wanted to set up a development environment on my  Windows machine, which I typically only use for gaming. The first step was to set up WSL (Windows Subsystem for Linux) which allows me to run Linux CLI on Windows. 

WSL

WSL (Windows Subsystem for Linux) allows you to run Linux directly on your Windows machine. This is useful for development, for example, when you need to use Linux but don’t want to switch to a separate Linux machine or VM.

Installing WSL

To install

Installing Linux onto Windows with WSL Read more

Plus-Minus-Next Journaling

The Plus Minus Next journaling technique from Anne-Laure Le Cunff’s Tiny Experiments offers a simple way to track what’s working in your life and make minor, actionable adjustments.

We’ve all heard about the benefits of journaling and how it can improve your life. Expressive writing can decrease symptoms of anxiety and improve our mood. 1

But if you’re like me, journaling can be a daunting task. The simplicity of the Plus Minus Next technique changes this and provides a way to keep a record of your life without much time or effort.

In her book,

Plus-Minus-Next Journaling Read more

Our slow decay

Some brief thoughts about how our body decays as we age, leaving us with no option but to try and slow it down.

As we age, our bodies change. We lose muscle and mobility, even if we’re healthy.

It creeps up on us, and before we know it, we’re feeling old. Then, it’s much harder or impossible to reverse.

As my 50th birthday approaches, I’ve been more focused on this.

To combat muscle decay, we must incorporate regular strength and mobility training.

I now have heavy dumbbells, a weight bench, and a simple 30-minute, twice-weekly routine.

The challenge is incorporating this into my life so that it’s a habit I don’t force myself to do, but feel

Our slow decay Read more

A framework for analyzing societal problems

A break down of Tim Urban's framework for analyzing societal problems, which describes how people think in today's society using the concepts of the Idea Spectrum and the Ladder of Thinking.

I recently read What's Our Problem by Tim Urban. This insightful book begins with a framework describing how people think in today's society.

This post breaks down the framework and explains how to use it for societal and political decision making.

Two types of thinking

There are two types of thinking: Higher-Mind and Primitive-Mind. Higher-Mind seeks truth based on evidence, while Primitive-Mind leans on experience and emotions. We engage in both types based on the topic.

Idea Spectrum

The Idea Spectrum is a graph. The horizontal axis describes what you think, and the vertical axis describes how you think.

For

A framework for analyzing societal problems Read more

Use your domain for your email address

Your email address is an essential part of your identity. Your email address is used to log into your accounts, change your passwords, and more. Your email is also where you may have personal communication with others.

I trust Google, Microsoft, and Apple enough to take your email security seriously. They’re incredibly secure. But there is a difference between security and privacy. These companies can see your email, track your use, and share information about you with third parties.

We share your personal data with your consent or to complete any transaction or provide any product you
Use your domain for your email address Read more

Hide an email address on your webpage with JavaScript

Using some simple HTML, you can obfuscate an email address (or any other text) from a link on a web page. But when clicked, it will still work! It uses HTML data attributes to allow you to create your email address broken and then combine the pieces together when the user clicks the link. This should hide the email from unwanted visitors and bots.

<a href=“#” 
   data-name=“name”
   data-domain=“yourdomain” 
   data-tld=“com”
   onclick=“window.location.href = ‘mailto:’ + this.dataset.name + ‘@‘ + this.dataset.domain + ‘.’ + this.dataset.tld; return false;”>Text</a>

I found this trick from this&

Hide an email address on your webpage with JavaScript Read more