by Danny | Aug 12, 2025 | Coding
This time, I want to share one of my favorite Node.js development tips. Once you understand the event loop, you’ll realize how important it is to manage execution efficiency in your code so the event loop can work as expected. I often use setTimeout to achieve a...
by Danny | Jun 17, 2025 | Software
Boost Your WordPress Writing with WP Markdown WP Markdown is a modern WordPress plugin that brings the power of Markdown and Mermaid diagrams to your website. Whether you are a blogger, developer, or technical writer, WP Markdown makes your content creation faster,...
by Danny | Jun 16, 2025 | Software
SocketMonitor A powerful network packet monitoring tool that acts as a proxy between clients and target servers. It provides real-time packet inspection and analysis capabilities. Screenshot Overview graph LR Client[Client] Proxy[SocketMonitor Proxy] Target[Target...
by Danny | Jun 15, 2025 | Software
USART Assistant A professional serial communication tool designed for developers and engineers. This comprehensive UART/USART debugging assistant provides real-time monitoring, data analysis, and control capabilities for serial communication. Key Features Serial...
by qadmin | Jun 10, 2025 | Coding
Experiences and Precautions of Using #pragma pack(1) in STM32/ESP32 MCU Development Recently, while developing on STM32, I encountered issues with data transfer using struct conversions. After some research, I found that in embedded system development—especially with...
by Danny | Feb 13, 2025 | Linux
Banana Pi UART0 配置指南:如何正確設置串口控制台 簡介 在 Banana Pi 開發板上,UART0 預設被用作內核除錯輸出。本文將介紹如何正確配置 UART0 作為串口控制台,以及可能遇到的常見問題。 背景說明 Armbian 系統在 Banana Pi 上預設使用 UART0 輸出除錯資訊。如果您希望將 UART0 用作串口控制台,需要特別注意 PWM 設備樹覆蓋(DT Overlays)的配置。 配置步驟 1. 檢查 PWM 設備樹覆蓋 根據 README.sun8i-h3-overlays 文件說明:...
by Danny | Nov 21, 2024 | Linux
使用 VSCode 遠端開發時發現把 public key 加入 authorized_key 還是失效,之後才知道可以加上參數進行檢查,於事先在"命令提示字元執行ssh`: ssh -i [private key path name] -v gw@192.168.19.38 結果發現真的有問題: : : debug1: Next authentication method: publickey debug1: Offering public key: id_rsa-dmgw RSA...
by Danny | Mar 5, 2024 | Linux, Web
建立nextcloud如果覺的檔案在網頁上顯示的內容與實際檔案有出入時可以透過occ來重新建立檔案的索引。 假設nextcloud建立在/var/www/html之中: cd /var/www/html sudo -u www-data php occ files:scan [使用者名稱] 重建完成後會看到如下: +---------+-------+--------------+ | Folders | Files | Elapsed time | +---------+-------+--------------+ | 13...
by Danny | Feb 27, 2024 | Android
指令: flutter --android-sdk "[路徑] 範例: C:\Users\danny>flutter config --android-sdk "D:\3106_AndroidSDK" Setting "android-sdk" value to "D:\3106_AndroidSDK". You may need to restart any open editors for them to read new settings. 記得指定完成後執行flutter doctor...
by Danny | Apr 20, 2023 | Linux
Raspberry Pi SoC 後期有內建2組UART,所以會做一個相容, tty UART Type map Serial0 mini UART ttyS0 Serial1 PL011 ttyAMA0 Kernel Open /boot/cmdline.txt console=serial0,115200 root=PARTUUID=d82c2881-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait EDIT console=serial0,115200...