首先,先進入Git repo,並編輯.gitmodules檔案
[submodule "mygitsubmodule"]
path = mygitsubmodule
url = https://github.com/dreamtails/mygitsubmodule
branch = feature/dreamtails
dreamtails 發表在 痞客邦 留言(0) 人氣(172)
find
-mtime : 搜尋檔案的修改時間(天)
-mmin : 搜尋檔案的修改時間(分鐘)
-ctime : 搜尋檔案的建立時間(天)
-cmin : 搜尋檔案的建立時間(分鐘)
-atime : 搜尋檔案的最後開啟時間(天)
-amin : 搜尋檔案的最後開啟時間(分鐘)
-size : 搜尋檔案的大小
-name : 搜尋檔案名稱(有分大小寫)
-iname : 搜尋檔案名稱(不分大小寫)
-type f : 只搜尋“檔案”
-type d : 只搜尋“目錄”
-exec <cmd> {} \; : 把搜尋結果導向指令來執行
-user : 搜尋特定使用者的檔案或目錄
-o : 邏輯運算為「或」的意思
-print : 將結果印出於螢幕
dreamtails 發表在 痞客邦 留言(0) 人氣(17)

Use cURL to trigger Jenkins job.
1. Enable “Trigger builds remotely”, and enter the “Authentication Token”.
dreamtails 發表在 痞客邦 留言(0) 人氣(22)
1. Install AnyDesk on Ubuntu 22.04.
2. Configure login password. This password is “P@ssw0rd”.
dreamtails 發表在 痞客邦 留言(0) 人氣(264)
local run before deploy K8s
> kubectl apply --dry-run=server -k path/to/kustomization(folder)
> kubectl apply --dry-run=client -k path/to/kustomization(folder)
dreamtails 發表在 痞客邦 留言(0) 人氣(21)
Fcitx5 for Android
什麼是Fcitx(中文名稱為「小企鵝輸入法」),可以參考https://zh.wikipedia.org/zh-tw/Fcitx
dreamtails 發表在 痞客邦 留言(0) 人氣(353)
Login to ArgoCD:
> argocd login argocd.dreamtails.com --sso
|
dreamtails 發表在 痞客邦 留言(0) 人氣(3)
# kubectl run -i --rm --tty busybox --image=busybox --restart=Never -- sh
dreamtails 發表在 痞客邦 留言(0) 人氣(4)
# vi /etc/samba/smb.conf
====================
[Global]
min protocol = SMB2
ea support = yes
vfs objects = catia fruit streams_xattr
fruit:metadata = stream
fruit:model = MacSamba
fruit:posix_rename = yes
fruit:veto_appledouble = no
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:delete_empty_adfiles = yes
......
====================
dreamtails 發表在 痞客邦 留言(0) 人氣(221)
# vi /etc/samba/smb.conf
==================
...
# Disable Port-139(NetBIOS-ssn)
disable netbios = yes
smb ports = 445
...
==================
dreamtails 發表在 痞客邦 留言(0) 人氣(30)