Using AutoHotkey to Emulate macOS Cmd + ` Window Switching on Windows OS

As a long-time Windows user, I experienced the convenience of Cmd+` after getting a MacBook Air M1. Especially when switching between different windows within the same application, this shortcut is incredibly smooth. For Windows users, this feature isn't as straightforward—typically, you need to use Alt+Tab to switch between all applications, without limiting it to just a single app. This guide will show you how to achieve a similar operation using AutoHotkey 1.0, allowing you to quickly switch between windows within the same program. Download and Install AutoHotkey 1.0 Visit the AutoHotkey Website: Open your browser and go to the AutoHotkey... To read more, click here

Handling Line Breaks in Home Assistant’s YAML to Send LineMessenger Push Messages (Restful Request)

In this blog post, I won't guide you step-by-step on how to configure Home Assistant to send Gmail notifications to LINE, but focusing on how to correctly handle line breaks (\n). This seemingly simple requirement can become quite challenging due to the complexities between YAML, JSON, and various APIs. This post will focus on ensuring that line breaks are correctly displayed in LINE messages.繼續閱讀...→ Error happened.

How to Fix the Black Screen Issue When Switching to Desktop Mode on Steam Deck

When you encounter a black screen while attempting to switch to Desktop Mode on your Steam Deck, it can be frustrating. However, there is a simple solution to help resolve this issue. Here is a step-by-step guide to solve the problem: Solution Switch Accounts: First, log in to a new Steam account through the game interface. Use this new account to switch to Desktop Mode. If the switch is successful, delete all files (excluding folders) located at Home/.local/share/kscreen and Home/.local/share/kscreen/outputs. For safety, you may choose to cut and back up these files to another location before deleting them from the... To read more, click here

Windows IIS 8 Website Unexpected 403.3 Authentication Error

layout: post title: Mysterious 403.3 Authentication Error on Windows IIS 8 Website date: 2021-09-15 11:49 +8 description: Adjusting folder permissions on Windows. toc: false share: true comments: true tags: IIS Windows Note This article provides a solution for Windows IIS 8 and later versions. Problem Check Create a new website and create a simple helloWorld.html file. If it's in a subdirectory, remember to convert it to a "Web Application." Grant the folder permissions to "Everyone" with "Full Control." If this solves the problem, then it is confirmed to be a permissions issue. Main Solution In wwwroot or the root directory... To read more, click here

Using Google Maps JavaScript to Import KML Files and Automatically Draw Maps

layout: post title: Using Google Maps Javascript to Import KML Files and Automatically Draw Maps date: 2021-08-24 17:41 +8 description: How to use KmlLayer to present data without manually reading it, and potential issues you may encounter. toc: false share: true comments: true tags: GoogleMaps Javascript Development Code Potential Issues Line thickness differs from what you see on Google My Maps or Google Earth! Why is it so thick? You need to manually add <width>0.001</width> for each <LineStyle></LineStyle> in the KML file. 0.001 can be changed to your desired value. Tip: Find and replace </LineStyle> with <width>0.001</width></LineStyle> Error happened.