Kensington LD5400T is a discontinued, large and heavy Thunderbolt 3 dock. After powering it on, at first there were issues with video output that made me think it’s defective. After some testing, I found it has below limitations but still usable:

  1. Its TB-3 /USB-C port cannot output to USB-C monitors and needs a USB-C to HDMI or DisplayPort adapter to connect to monitors. (Instead, the Elgato TB3 dock I’m also using can directly output to USB-C monitors, using a USB-C to USB-C cable).
  2. It has one DisplayPort port (and no HDMI port), and it doesn’t support DisplayPort to HDMI adapting cables. (Again, the Elgato TB3 dock can outputs to HDMI port through such adapter cable).

So even this dock has the visually same ports as the Elgato (which has also been discontinued, but it’s light and small and has worked perfectly for two years), remember above limitations before you think it’s defective.

The problem: on my M2 mac mini with a Logi Ergo MX bluetooth mouse, every time I make the mac mini to sleep, it immediately wakes up, which I guess is caused by the mouse. So I need to turn off the mouse first, then use keyboard shortcuts to make the mini sleep.

The steps:

System Settings –> Keyboard –> Keyboard Shortcuts … –> (Left panel) App Shortcuts –> “+” –> Select “Application” as “All Applications”, “Menu Title ” as “Sleep”, and “Keyboard Shortcut” as what key combination you press, e.g. Shift + Option + Command + S

I got a Whirlpool washer (Model: WTW4816FW) three years ago and it worked great, until today there was no water coming in it after I pressed “Start”. Here is the solution that worked for me (however, YMMV).

So inside the washer and besides the drum, there is a plastic bag containing a booklet of Technician Manual. Get this manual and it will tell you how to enter diagnostic mode.

  1. Dial the Cycle button to “Normal”
  2. Pull out the washer’s electric plug from the outlet, wait for 1 minute, then re-plug, and you will hear two or three “Click” sound from the washer
  3. Follow the steps in the Technician Manual (basically dial the Cycle button in clockwise/counter-clockwise for a few times, until all the LED lights are on)
  4. In diagnostics mode, I just run an Automatic Test by dialing the Cycle button to select “Spin” and then click “Start”
  5. When the Automatic Test is finished, if no problems are found, then all the LEDs are in green color. So in my case, after this test is done, the washer just works again with watering coming in!

My guess is the most important step is to just reset the washer to default mode (by unplug and wait for one minute). Again, YMMV but maybe worth a try!

First, confirm if zswap is supported (“y” means yes)

# cat /boot/config-`uname -r` | grep -i zswap
CONFIG_ZSWAP=y

Next, check if it’s enabled (“N” means no)

# cat /sys/module/zswap/parameters/enabled
N

If the above result is “N” (no), then enable it

echo Y | sudo tee /sys/module/zswap/parameters/enabled

Now check again and it should be enabled

# cat /sys/module/zswap/parameters/enabled
Y

Amazon no longer provides the option to filter by specific sellers. I mostly buy items sold and ship by Amazon.com itself. Well, the current fix is adding the below string to the end of browser URL:

&emi=ATVPDKIKX0DER

For example, when searching “nvme enclosure”, the default URL is like below, and it lists mostly 3rd-party sellers:

https://www.amazon.com/s?k=nvme+enclosure&i=computers

But if you add “&emi=ATVPDKIKX0DER” to the end of above URL:

https://www.amazon.com/s?k=nvme+enclosure&i=computers&emi=ATVPDKIKX0DER

now the searching results are sold by Amazon.com itself.

Reference: https://www.reddit.com/r/amazonprime/comments/13nyl2k/amazon_no_longer_offers_the_option_to_filter/

The problem:

I’m using a 2015 MBP Pro, and I can SSH into a Ubuntu 22.04 desktop computer (with OpenSSH) in the same WiFi LAN.

After I suspend the Ubuntu machine, I want to wake it up from macOS.

The solution:

1. On Ubuntu machine, enable wake-on-wireless-lan (WoWLAN)

iw phy0 wowlan show
# if it shows "WoWLAN is disabled"
sudo iw phy0 wowlan enable magic-packet disconnect
iw phy0 wowlan show
# now it should show WoWLAN is enabled

Also, get the MAC address for later use

ip addr show $(awk 'NR==3{print $1}' /proc/net/wireless | tr -d :) | awk '/ether/{print $2}'

2. On macOS machine, use wakeonlan command to wake up

# if wakeonlan not installed
brew install wakeonlan
wakeonlan <ABOVE MAC ADDRESS>

The problem: after “Check for updates…” and “Update now”, VS Code for macOS never restart or actually update (after it is manually restarted). This problem was reproduced on macOS 10.15.4 and VS Code 1.41.0

The solution: run

$ sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt

Reference: https://github.com/microsoft/vscode/issues/77949

This SO post has a good explanation of what `afterEvaluate` does. Just a quote:

The afterEvaluate is useful in the root gradle file of a multi project build when you want to configure specific items based on the configuration made in subprojects