Why and how I switched my personal PC from Windows to Linux using Omarchy.
My personal Windows PC has primarily been used for the browser, VS Code for some light development, and a couple of games. When I decided to try to set up Ghost locally for theme development, I was immediately reminded of why I prefer not to do development on Windows.
Trying to set up Ghost on Windows led me down a rabbit hole of installing and uninstalling various libraries and software packages I had never heard of, and repeatedly rebooting my computer. All without success.
All the documentation and discussions I read made it clear that Linux or Mac was the
How to automatically switch between light and dark themes in your CSS based on the visitors system settings.
If you want your site to automatically switch between light and dark themes based on the visitor's system settings, you can use a @media query and the prefers-color-scheme feature.
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.
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.
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.
Create a file named publish.js in your root directory.
Add the following script to the file.
Update the script with your Tinylytics embed code.
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.