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...
by Danny | Dec 27, 2022 | Linux
產生測試資料 cd /tmp mkdir 11/22/33 -p touch 11/f1 touch 11/22/f2 touch 11/22/33/f3 目錄結構 tree tmp tmp └── 11 ├── 22 │ ├── 33 │ │ └── f3 │ └── f2 └── f1 壓縮 一般來說我們會使用zcf指定tar完成後再gzip,我們看看2個指令的差別...
by Danny | Dec 22, 2022 | Linux
man 透過 --locale=語系 指定要看的語系說明,但不清楚語系名稱時進入usr/share/man查詢: ls -la /usr/share/man danny@EDY-G41MT-D3:/usr/share/man$ ls -la total 484 drwxr-xr-x 36 root root 4096 Sep 23 08:53 . drwxr-xr-x 347 root root 12288 Dec 3 17:01 .. drwxr-xr-x 5 root root 4096 Feb 7 2020 cs...
by Danny | Nov 3, 2022 | Linux
![](https://da2.35g.tw/wp-content/uploads/2022-11-03_10-28-13.png 設定密碼 x11vnc 遠端控制畫面是傳輸XWindows整個畫面,與其他的vnc server不同, 在使用時建議一定要先設定密碼做好最低限度的保護。 sudo x11vnc -storepasswd [你的密碼] /etc/x11vnc.passwd 建立 Systemd Service檔案 使用編輯器建立x11vnc.service,如:nano x11vnc.service [Unit]...