Skip to Content

Eric Gregorich

Posts on page 5

Add Tinylytics script to Obsidian Publish

If you use Obsidian Publish to host your Digital Garden and want a simple and privacy-focused analytics solution to track how people view your site, then this is for you. Tinylytics is a privacy-focused and straightforward analytics service.

  1. Create a file named publish.js in your root directory.
  2. Add the following script to the file.
  3. Update the script with your Tinylytics embed code.
  4. Publish the file!
var tinylyticsScript = document.createElement('script'); 
tinylyticsScript.defer = true; 
tinylyticsScript.src = '[tinylytics.app/embed/YOU...](https://tinylytics.app/embed/YOUREMBEDCODE.js';) document.head.appendChild(tinylyticsScript);
Add Tinylytics script to Obsidian Publish Read more

Smaller Rocks Matter: Rethinking Time Blocking

Rethink time blocking: Don't forget to schedule "smaller rocks" like emails and admin tasks to prevent them from becoming urgent interruptions.

When blocking time on our calendar, we often schedule our ideal day, incorporating ample time to handle the significant tasks we plan to complete.

Scheduling these major tasks is a crucial aspect of time blocking, but we must not overlook the necessity of allocating time for checking emails, responding to messages, and performing other administrative tasks.

If we don’t set aside time for these admin tasks, they will either remain undone and accumulate, or they will become “urgent” matters that we end up addressing during the day instead of our scheduled tasks.

As Stephen R. Covey stated, you should

Smaller Rocks Matter: Rethinking Time Blocking Read more

My Apple Vision Pro Demo

I had the opportunity to demo the Apple Vision Pro yesterday. The following is a write-up of my experience.

My store had a section blocked off with a couple of tables where a few people could do the demo simultaneously. Unfortunately, it was a sitting experience and quite loud in the room. It was not the ideal setup because of the noise and the other people in my “view,” but it probably didn’t deter the experience much.

The Hardware

Apple took my current glasses so they could add the appropriate lease to my demo device. While I

My Apple Vision Pro Demo Read more

Using an index card to manage tasks

Using an index card is a simple technique for helping you focus during the day. It is not a replacement for your task application or calendar, but an addition. The point is to help you be less distracted and keep your planned tasks front and center while you work.

Review your task application and calendar every morning (or the night before) to determine what needs to be done that day. Then, write the main things you want to accomplish on your index card.

Use your index card as you work during the day. Jot down things as they come up.

Using an index card to manage tasks Read more

How writing can help you solve problems

Have you ever started an email to someone explaining a problem that you don’t know the solution to, only to realize that by the time you finish the email, you have come up with a solution?

Simply writing out a problem where the explanation is as simple as possible (so someone else can understand it), we are clarifying in our mind precisely what the problem is. You likely don’t understand if you can’t explain the situation to someone else.

Understanding the problem is only the first part. Now, we try to come up with a solution. Often,

How writing can help you solve problems Read more

NVM

As developers who rely on NodeJS, we often encounter applications that require different versions of Node to run. This is where NVM (Node Version Manager) comes in. NVM makes it easy to install multiple versions of Node.js on your machine and switch between them as needed.

Installing NVM on Mac

  • Open your terminal.
  • Run brew install NVM.

Installing NVM on Windows

  • Download and install the latest release of nvm-windows.

Using NVM

  • nvm --help Find all of the options available.
  • nvm install [Version] Installs the given version.
  • nvm current Shows the current version.
  • nvm use [Version]
NVM Read more