Archive

mundus senescit

A few of my bookmarklets

coding javascript

I have a few Javascript bookmarklets that I thought I’d share. Bookmarklets are short snippets of JavaScript code that run in the context of the current web page in the browser. I prefer them over extensions since I can see what the code does. There are plenty on the web, here are a few of mine.

Continue reading...

Visual Studio Code key bindings for curly quotes

guide vscode

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.

Continue reading...

Tweaks and Hacks to Configure Windows 10

guide windows

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)...

Continue reading...

Command to turn off monitor in Windows 10

guide windows powershell

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...

Continue reading...

Monitoring MacBook temperature

guide macos

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...

Continue reading...

Setting up a Wireless Repeater using DD-WRT v3.0

guide

I wanted to re-purpose an old Linksys WRT54GL by overwriting its firmware with the open source DD-WRT firmware, because the original Linksys firmware does not support a wireless repeater setup. A Wireless Repeater is used to “extend” the range of a primary wireless router by connecting a secondary wireless router (i.e. bridging), and routing Internet-bound traffic via the primary router. Here is how I got it working.

Continue reading...