Some paper submissions may ask you to not use any Type 3 font in your PDF. In my case, Type 3 font exists in the… Read More »Academic Writing Tips: Avoid Using Type 3 Font in Matplotlib and Reduce PDF Size Afterward
Resolving an issue that static files can’t be reached (i.e., files not found, 404) when using Django running on a NameCheap shared machine. I bumped… Read More »Accessing Static Files in Django (WSGI) Hosted on NameCheap
When using a QWidget and QMainWindow, we can use overridden methods to handle mouse and key-press events. However, such predefined methods do not contain anything… Read More »Handling MacOS Gesture Events (Pinch, Zoom, Rotate) in PyQt or PySide2
A summary of commonly used docker commands. Docker Image Management Search/List Check the images on your host: docker image ls Search images from the Docker… Read More »Quick Command References: Docker Container
Tips for enabling your Mac to connect to your Ubuntu 18+ remote desktop. [Step 1] Ubuntu: Install Vino Server Install the Vino server: sudo apt… Read More »Connecting to Ubuntu 18+ Remote Desktop from Mac
Addressing the host key inconsistency issue when using the same IP address in multiple OSes instances. When using a Raspberry Pi board with switching between… Read More »Addressing the Issue “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!” when SSH to Raspberry Pi
A short answer for how to enforce a wired Sidecar connection between a Mac and an iPad. Sidecar allows us to use an iPad as… Read More »Forcing iPad Sidecar to Connect via USB
Digging into the source code to understand how the five threads in Ardupilot in Linux are created and run. The Linux version’s Ardupilot takes advantage… Read More »How Threads Run in Ardupilot in Linux (AP_HAL_Linux)?