init: Alfred preferences

This commit is contained in:
2026-03-26 09:22:38 +08:00
commit 3cad72b72c
13215 changed files with 108280 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>snippetkeywordprefix</key>
<string></string>
<key>snippetkeywordsuffix</key>
<string></string>
</dict>
</plist>

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman run --rm -it \\\n -p 8080:80 \\\n -v \"$(pwd)\":\/usr\/share\/nginx\/html:ro \\\n docker.io\/library\/nginx:alpine",
"uid" : "51B85531-1FF6-4FA7-B529-7FB509241ECC",
"name" : "以 Nginx Alpine 映像啟動臨時容器並對外提供 8080 服務",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pod stop {cursor}",
"uid" : "7710115A-D19D-4A41-8D12-0E272A7D7A40",
"name" : "停止指定的 pod",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman ps --pod",
"uid" : "62C7D5C3-DD2F-4D3E-97ED-6037FD6CADEA",
"name" : "列出容器並附帶所屬 pod 資訊",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman network ls",
"uid" : "FF25CF94-438A-4202-BEAF-777E0145AA5D",
"name" : "列出所有 Podman 網路",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pod ps --ctr-names",
"uid" : "88D5E463-85BB-4DD5-86B0-2A1559BFE844",
"name" : "列出所有 pod 及其容器名稱",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pod ps",
"uid" : "198F1675-1C26-4C07-95AE-72D6A074F531",
"name" : "列出所有 pod 狀態",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman kube down {cursor}",
"uid" : "68048BDE-419F-46D8-B545-5CC8F15E5879",
"name" : "刪除由該 Kubernetes YAML 建立的資源",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman logs -f {cursor}",
"uid" : "34FCF1B3-B437-4331-A029-986B73500253",
"name" : "即時追蹤容器日誌",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman-compose up -d",
"uid" : "8E93DFFB-26DA-4E14-A39A-962928FFDFA4",
"name" : "啟動 podman-compose 專案並在背景執行",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pod start {cursor}",
"uid" : "0F869B8A-4908-4E09-A91D-954A5E896BCA",
"name" : "啟動指定的 pod",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman kube play {cursor}",
"uid" : "5DF29706-F673-4DBB-B845-2C798695815C",
"name" : "套用指定的 Kubernetes YAML 並建立相應資源",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "sudo apt-get -y install podman",
"uid" : "B2600305-2870-4745-B3CF-3559D1AB0E2A",
"name" : "安裝 Podman",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "apt-get install -y podman-compose",
"uid" : "D09E5B15-2AE3-4E1C-B3C9-42296D995830",
"name" : "安裝 podman-compose",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman network create labnet",
"uid" : "E423145F-982A-44D2-A4C9-AB2690A0CB60",
"name" : "建立名為 labnet 的 Podman 網路",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pod rm -f {cursor}",
"uid" : "A670738E-92A1-4F85-BE4B-5EC5E625E0D8",
"name" : "強制刪除指定的 pod",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman kube generate {clipboard} > {clipboard}.yaml",
"uid" : "2349D39E-2D62-463E-8E23-A981DA427350",
"name" : "從容器或 pod 產生對應的 Kubernetes YAML 檔案",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pull {cursor}",
"uid" : "BC62CDA7-A5F0-41EE-A645-D05D7B611823",
"name" : "拉取映像檔",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman port {cursor}",
"uid" : "9D3997E5-DBA5-46E3-BA45-36708D18B743",
"name" : "查看 pod 或容器的埠口映射",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman pod inspect {cursor}",
"uid" : "6F2E5FB7-43B5-407A-8617-0F02E23D9B2B",
"name" : "查看指定 pod 的詳細資訊",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman exec -it {cursor} sh",
"uid" : "752EAF51-BC29-4775-B636-9FFFAE6A3463",
"name" : "進入容器並啟動 sh 命令列",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman --version",
"uid" : "41024762-07C0-478D-A15E-023D2DAE5DCB",
"name" : "顯示 Podman 版本",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman info",
"uid" : "99E02E8E-9F4D-4776-B644-6EBBA1C0A2B7",
"name" : "顯示 Podman 系統資訊",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "podman inspect {cursor} --format '{{.State.Status}} {{.State.ExitCode}}'",
"uid" : "417854EE-0273-463D-9785-7F1908E36458",
"name" : "顯示容器目前的狀態與退出碼",
"keyword" : ""
}
}