by Danny | Nov 11, 2025 | Learning
What Do I Use Vibe Coding For?-Struggling with Code? Let Gemini Help! Recently, Vibe Coding has become extremely popular, making the term "Coding" more engaging and profound. Beyond courses and books teaching it, more people are sharing their experiences, making...
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...