Customizing VS Code for Markdown note-taking

I’ve been using Visual Studio Code for all my notes. I have used Typora, Obsidian, and Zetlr, but I keep coming back to VS Code, because of its extensibility, customizability and integrated terminal. Here is how I set it up for note-taking. ...

18 Jul 2021

Enabling AMD Ryzen 5600X fTPM for Windows 10

You might have read that Microsoft’s upcoming Windows 11 requires a Trusted Platform Module (TPM). More recent AMD CPUs support Firmware TPM (fTPM) which implements TPM in software on the CPU instead of requiring a dedicated (discrete) chip. This is how I enabled fTPM. ...

25 Jun 2021

CoreSimulator Crash Loop

Last month, one morning, my MacBook (still running Catalina) started behaving strangely - though I was not running anything, it was sluggish as the CPU was too busy and the fans were on high. I traced it to the iOS Simulator service that comes with XCode. ...

19 Jun 2021

VS Code Override Terminal Color Theme

I have been too very quiet! I wanted a mash-up of a two Visual Studio Code themes - a light color theme for the main editor area, and a dark theme for the terminal, which I usually keep open. Here is an easy way to achieve this. ...

17 Jun 2021

Visual Studio Code key bindings for curly quotes

When I write, I want proper curly quotes, with the correct opening and closing ‘single’ and “double” quote marks. However, the standard QWERTY keyboard doesn’t have these keys, having only straight ‘single’ and “double” quotes. Microsoft Office and Apple Pages “Smart Quotes” will automatically fix this, but since I write this blog in Visual Studio Code, here is how I setup my keyboard. ...

27 Mar 2021

Tweaks and Hacks to Configure Windows 10

I’ve been meaning to post this from the time I built my Windows desktop. But I keep adding to the list of things I need to configure to get Windows 10 into a ”usable” state for me. Unlike with macOS - for which the default installation is well configured, secure, and pretty much good-to-go - the installation and setup of Windows is extremely painful and a terrible experience. I have to spend hours trying different methods to remove junk, disable telemetry, and secure Windows (and still fail)… ...

13 Mar 2021

Command to turn off monitor in Windows 10

I wanted to turn off my monitor in Windows 10, while listening to music, rather than wait for the Power plan “Turn off the display” timer to kick in. Hmmm, seems Windows has never improved, because I recall having this requirement back-in-the-day - haha, that was during my first project ever, when I was involved in some Win32 development… ...

12 Mar 2021

Configuring Windows Subsystem for Linux (WSL2)

Here is how I configure Windows Subsystem for Linux (WSL). I do things a bit strangely: by changing the mounts, by running a GUI Desktop, and by running Docker in WSL2 and not on the Host… ...

13 Feb 2021

Monitoring MacBook temperature

I have been having issues with my Intel Core i7 MacBook Pro - as the notebook heats up, the LCD display starts to die. Initially the display would glitch - black bars or lines of dead pixels would appear at the bottom of the display,. Then these dead portions start to “jump” causing the display to flicker. The glitches progressively affect a larger and larger portion of display, until the display gives up and just just goes blank! Perhaps the flexgate design flaw with the ribbon cable between the motherboard and display… ...

6 Feb 2021

Testing Grav 1.7 in a container

When I first used Grav, “a modern open source flat-file CMS,” to host this site, I setup a local development environment using macOS’s built-in Apache and PHP. But this is getting harder with each macOS release, so it’s time to use a Docker container instead. ...

22 Jan 2021