In the macOS Monterey Shortcuts Gallery, there are Shortcuts to “Tile Last 2 Windows”, “Tile Last 3 Windows” and “Tile Last 4 Windows”. This is my single combined version for any window (not just the last x).
I have a hangup about Microsoft Office on macOS - it often elects to paste images from the clipboard in TIFF format, instead of PNG or JPG, which results in massive files, be it PowerPoint .PPTX presentations, Word .DOCX documents or Excel .XLSX spreadsheets. Enter: A new macOS Shortcut to convert clipboard images to (lossless) PNG or (lossy) JPG.
Here is a macOS Shortcut to take a screenshot and extract text from it using Optical Character Recognition (OCR). I find this useful to copy text from e.g. a presentation or video during a virtual call, etc.
If you use an external keyboard on iPad, this is the most important thing to do - remap a key like the fn key to the globe key. Here is how I do it for an older Apple wireless keyboard like the second generation A1255 or third generation A1314.
Today’s post will be a long one - recently, Docker announced some changes to the Docker Desktop license, so I figured I’d check out the Lima for macOS instead. As always, I end up complicating things by doing everything my way...
A few posts back, I described my no-code approach to customizing my MacBook touch bar in Visual Studio Code, where I used Apple’s SF Symbols 3 Beta icon library. Now, Apple has release a new beta of SF Symbols that makes the process easier!
I stumbled upon a post entitled “Piping stdout and stderr to Preview” by Erica Sadun - the cool bit that caught my attention was about redirecting
man pages (UNIX help) to Preview on macOS. But this got me thinking... to redirect the output to Visual Studio Code instead!
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.
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.
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.
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.
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.
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)...
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...
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...
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...
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.
In the Windows 10 Start Menu, I used Pin To Start to a medium sized tile for Firefox - and the icon is nice and large - but is not the case for other shortcuts. I was wondered why... and how to make all the icons have a more consistent look.
There are multiple ways to run Linux GUI applications in a Docker container, but today I’ll highlight a method that I found interesting: using Xpra to forward X11 screens from containers to a web browser. This post is based on Eugene Yaremenko’s docker-x11-bridge, which I simplified.