首先,先進入Git repo,並編輯.gitmodules檔案

[submodule "mygitsubmodule"]
	path = mygitsubmodule
	url = https://github.com/dreamtails/mygitsubmodule
	branch = feature/dreamtails

dreamtails 發表在 痞客邦 留言(0) 人氣()

find

  • -mtime : 搜尋檔案的修改時間(天)

  • -mmin : 搜尋檔案的修改時間(分鐘)

  • -ctime : 搜尋檔案的建立時間(天)

  • -cmin : 搜尋檔案的建立時間(分鐘)

dreamtails 發表在 痞客邦 留言(0) 人氣()

How to Use cURL to Trigger Jen

Use cURL to trigger Jenkins job.

1. Enable “Trigger builds remotely”, and enter the “Authentication Token”.

dreamtails 發表在 痞客邦 留言(0) 人氣()

1. Install AnyDesk on Ubuntu 22.04.

2. Configure login password. This password is “P@ssw0rd”.

echo"P@ssw0rd" | sudo anydesk --set-password

3. Configure GDM config. Pleaseunmask:

  • WaylandEnable=false

dreamtails 發表在 痞客邦 留言(0) 人氣()

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) 人氣()

Fcitx5 for Android

什麼是Fcitx(中文名稱為「小企鵝輸入法」),可以參考https://zh.wikipedia.org/zh-tw/Fcitx

Fcitx原本是在Linux的,後來有人把它移植到Android,所以就可以在Google Play Store免費下載。

如題,Fcitx5 for Android怎麼使用嘸蝦米呢? 首先,要說明嘸蝦米輸入法並沒有預載在Fcitx5 for Android裡,要匯入表格檔後,再經過一番設定才能使用。

    要先找到表格檔。

dreamtails 發表在 痞客邦 留言(0) 人氣()

Login to ArgoCD:

> argocd login argocd.dreamtails.com --sso

dreamtails 發表在 痞客邦 留言(0) 人氣()

# kubectl run -i --rm --tty busybox --image=busybox --restart=Never -- sh

dreamtails 發表在 痞客邦 留言(0) 人氣()

# vi /etc/samba/smb.conf
====================
[Global]
min protocol = SMB2
ea support = yes

dreamtails 發表在 痞客邦 留言(0) 人氣()

# vi /etc/samba/smb.conf
==================
...
# Disable Port-139(NetBIOS-ssn)
disable netbios = yes

dreamtails 發表在 痞客邦 留言(0) 人氣()

# time rsync -avt --partial --delete --progress /mnt/Source/folder /Backup/Destination/
-t: 保留修改時間
--partial: 保留部分傳輸的文件
--delete: 刪除接收端上的"發送端不存在的文件"
--progress: 顯示傳輸進度

dreamtails 發表在 痞客邦 留言(0) 人氣()

# Step 1: Need root permission.
sudo bash
# Step 2: Update your repositories
apt update -y
# Step 3: Install pip for Python 3

dreamtails 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。