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,8 @@
{
"alfredsnippet" : {
"snippet" : "127.0.0.1:18789",
"uid" : "0D83D6BC-61F5-4A1B-82C9-895A1A3FA8EE",
"name" : "127.0.0.1:18789",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "141.11.93.252",
"uid" : "2AA7C677-29D3-40E8-8894-10B249A4FC55",
"name" : "141.11.93.252",
"keyword" : "IP"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "220.135.27.129",
"uid" : "5D4BAF77-4C3F-49C7-B655-FF18FEAB3C3D",
"name" : "220.135.27.129",
"keyword" : "IP"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "125.229.110.50",
"uid" : "7D6122B2-28DE-4440-9F35-4663EC734195",
"name" : "",
"keyword" : "home_ip"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "AceTk.com",
"uid" : "31B3EE77-4356-401E-8E9C-9FF10847E927",
"name" : "AceTk.com",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "bore local {cursor} --to 125.229.110.50",
"uid" : "AD54A283-3DDD-4688-8CEA-B71A673CBDF8",
"name" : "Bore 快速轉發埠口",
"keyword" : "bore.quick"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "LO",
"uid" : "BB9A4036-D78A-4FDE-BF7C-77878A4A0F13",
"name" : "LO",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pct set {cursor} -mp0 \/mnt\/pve\/synology-backup,mp=\/mnt\/ds1515-backup",
"uid" : "02719690-425B-4F75-A348-DAADEE11B3E8",
"name" : "LXC 設定備份路徑",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "curl -X POST http:\/\/192.168.8.82:11434\/api\/generate \\\n -H \"Content-Type: application\/json\" \\\n -d '{\n \"model\": \"gemma3:12b-it-qat\",\n \"prompt\": \"你好,幫我介紹一下你是什麼模型?\",\n \"stream\": false\n }'\n",
"uid" : "0DF6CEC9-9E1B-4FD3-B885-64F1EF14783E",
"name" : "Ollama 模型呼叫範例",
"keyword" : "ollama.gemma3"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "SynoStorage",
"uid" : "047CD82A-12CE-45DA-9585-70E793F31B52",
"name" : "SynoStorage",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "shopt -s dotglob\nsudo cp --archive ~\/Sync\/backups\/vscode\/* .\/\nshopt -u dotglob",
"uid" : "EC85A689-6B33-41E8-9A97-BA46DE75B1A5",
"name" : "VSCode 設定檔複製",
"keyword" : "vscopy"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "acetk.com",
"uid" : "21B03727-46F8-40F3-B62C-37EDF3E4ED29",
"name" : "acetk.com",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "0.0.0.0\/0",
"uid" : "8FB3AB29-B1DF-4F2D-8C95-3C52FC7D4402",
"name" : "all_ip_addresses",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "automodules.com",
"uid" : "1D1AC734-76DB-4D82-A7A8-F6E1AFE79CE1",
"name" : "automodules",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "automodules",
"uid" : "E71FDA51-3F05-4941-AF99-B8EC9C8AC50B",
"name" : "automodules",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "use context7",
"uid" : "96910F4A-FD0D-418D-B733-59BB1DFA8079",
"name" : "context7",
"keyword" : "context7"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "from icecream import ic # 匯入第三方套件 icecream用於更好的 print 輸出\n\nimport pretty_errors\n\npretty_errors.configure(\n line_number_first=True, # 顯示行號在前面\n lines_before=5, # 顯示錯誤行之前的行數\n lines_after=2, # 顯示錯誤行之後的行數\n line_color=pretty_errors.RED\n + \"> \"\n + pretty_errors.default_config.line_color, # 自訂錯誤行的顏色\n display_locals=True, # 顯示局部變數\n)\n\nic.configureOutput(includeContext=True) # 設定 icecream 函式庫的輸出格式\n\nic.enable() # 開啟 icecream 的輸出\n# ic.disable() # 關閉 icecream 的輸出\n\nic() # 印出除錯資訊",
"uid" : "48606816-81EB-499A-B3ED-2EAA79FE33A7",
"name" : "debug",
"keyword" : "python"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "\/dev\/null",
"uid" : "210F613B-2688-4168-8F2C-2C67D20038EA",
"name" : "\/dev\/null 黑洞輸出",
"keyword" : "dev.null"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "doggo MX {cursor} @9.9.9.9",
"uid" : "32FF45B0-8467-4338-8643-10DD77255863",
"name" : "doggo MX {cursor} @9.9.9.9",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "ethtool enp1s0",
"uid" : "D05C717B-B79E-4746-BD71-9AB67E98F848",
"name" : "ethtool",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "frogmouth README.md",
"uid" : "94D28F15-1D72-4EF8-9791-F0C6E007F6E3",
"name" : "frogmouth README.md",
"keyword" : "markdown"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "genact --help",
"uid" : "9A4AA0B3-9E54-45C1-A1A0-062E34D83054",
"name" : "genact 使用說明",
"keyword" : "genact.help"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# 定義 URL 和圖像文件路徑的變數\nurl=\"http:\/\/example.com\/image.png\"\nimage_path=\"\/path\/to\/image.png\"\n\n# 使用 curl 下載圖像\ncurl -o $image_path $url\n\n# 使用 osascript 將 PNG 圖像複製到剪貼簿\nosascript -e \"set the clipboard to (read (POSIX file \\\"$image_path\\\") as JPEG picture)\"\n\n# 刪除圖像文件\nrm $image_path\n",
"uid" : "97860F0F-78AC-4850-A062-8B7FA243DFE6",
"name" : "img",
"keyword" : ""
}
}

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" : "nip.io",
"uid" : "477B276A-D497-4822-857C-36EFD7AAE7F1",
"name" : "nip.io",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "no_name",
"uid" : "6612C9B2-2F6D-4E8C-889E-494152AD5996",
"name" : "no_name",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "sudo curl -L https:\/\/opengist.lotimmy.com\/timmy\/5c797f1047b840b1b1dbcd5328979e9a\/raw\/HEAD\/osc52_copy.py -o \/usr\/local\/bin\/rcopy\n\nsudo chmod +x \/usr\/local\/bin\/rcopy",
"uid" : "DE5B13BD-7FD4-44A7-A590-E757DD5D36FB",
"name" : "rcopy",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "rtsp:\/\/192.168.42.150:554\/stream1",
"uid" : "99F65C03-573F-41BE-8AB6-8962253B8F09",
"name" : "rtsp:\/\/192.168.42.150:554\/stream1",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "scrcpy --serial 192.168.42.102:5555",
"uid" : "EDFA4E2F-327F-4E6E-BEF1-E389A5728C37",
"name" : "scrcpy --serial 192.168.42.102:5555",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "ssh -N -L 18789:127.0.0.1:18789 192.168.42.112",
"uid" : "F149A0A7-0602-4392-9E1C-C68DD64C432C",
"name" : "ssh -N -L 18789:127.0.0.1:18789 192.168.42.112",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "syno",
"uid" : "6DE88FF4-26A6-4038-AB3B-979B30ADC8E9",
"name" : "syno",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "synostorage",
"uid" : "8A954C53-8C71-46F9-9ACC-4CD45290042B",
"name" : "synostorage",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "###### tags:",
"uid" : "FA56C4A0-C602-4CEA-8841-CA517A0C5E4A",
"name" : "tags",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "timmy.lo",
"uid" : "A00BCB26-C901-4996-9D82-6F175BE47810",
"name" : "timmy.lo",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "tree -P \"*.ics\" -L 1 --noreport --prune",
"uid" : "A0E7A7A7-259C-4244-AF32-980A86AD1722",
"name" : "tree -P \"*.ics\" -L 1 --noreport --prune",
"keyword" : "tree"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "tree -P \"*.py\" -L 1 --noreport --prune",
"uid" : "CEE003B5-E51A-4233-8776-EED0D8B6BC23",
"name" : "tree -P \"*.py\" -L 1 --noreport --prune",
"keyword" : "tree"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "wget --progress=dot:giga",
"uid" : "95F1336F-5F22-4170-9940-A2671F3E18F8",
"name" : "wget進度顯示點陣圖",
"keyword" : "wget"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "witr --pid 14233",
"uid" : "2221641A-FF81-43A5-A5AA-428814CC8EB9",
"name" : "witr --pid 14233",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "witr --port 5000",
"uid" : "5455561A-36CD-435C-8E08-9BE54CAF72B2",
"name" : "witr --port 5000",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "witr node",
"uid" : "6F08921A-831A-4826-B59C-72DC877C89C2",
"name" : "witr node",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "sudo sshuttle -NHr ubuntu@211.23.141.208 192.168.88.0\/24",
"uid" : "0757CC61-9685-4667-9FD6-01E43A6110CD",
"name" : "使用 sshuttle 建立 VPN 連線的指令",
"keyword" : "sshuttle"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "sudo sshuttle -NHr timmy@125.229.110.50 192.168.42.0\/24",
"uid" : "23C86F45-0674-4F8C-9B29-2561DDC6670B",
"name" : "使用 sshuttle 建立 VPN 連線的指令",
"keyword" : "sshuttle"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "genact -m download",
"uid" : "FFC641C1-B769-4181-A3C5-90B55A751F22",
"name" : "假裝下載中",
"keyword" : "genact.download"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "genact -m docker_build",
"uid" : "49A1DA9C-257D-4EF3-81C3-92E35A125742",
"name" : "假裝在 build Docker",
"keyword" : "genact.docker"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "sed -i 's\/#PermitRootLogin prohibit-password\/PermitRootLogin yes\/' \/etc\/ssh\/sshd_config && systemctl restart ssh",
"uid" : "432B1F34-F501-430F-A84E-5D2893E1B2F1",
"name" : "允許 SSH root 登入",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# 其他程式碼...",
"uid" : "388D84B0-29C0-40E7-9D5A-507D57C7BE17",
"name" : "# 其他程式碼...",
"keyword" : "code"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "genact --list-modules",
"uid" : "9DC6D2E0-C58E-4A8D-9AE7-010D5B6F95CA",
"name" : "列出 genact 模組",
"keyword" : "genact.list"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "echo {cursor} | awk -F. '{ print $1 }' | pbcopy",
"uid" : "23508628-D37E-478C-939B-957706C74B23",
"name" : "取第一段並複製(以點分隔)",
"keyword" : "awk.head"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "bore local <LOCAL_PORT> --local-host {cursor} --to 125.229.110.50",
"uid" : "F2407089-DB72-4452-A381-263ED5A4B8D2",
"name" : "啟動 Bore 代理(本機轉發)",
"keyword" : "bore.local"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "find \/ \\\n -path \/proc -prune -o \\\n -path \/sys -prune -o \\\n -path \/dev -prune -o \\\n -path \/run -prune -o \\\n -path \/var\/tmp -prune -o \\\n -type f -name \"*.py\" -print 2>\/dev\/null\n",
"uid" : "F954A55B-F397-425F-A560-DCA8229CEC16",
"name" : "安全搜尋 Python 檔案\n安全搜尋 Python 檔案",
"keyword" : "find.py"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# 建目錄與權限\nmkdir -p \/root\/.ssh\nchmod 700 \/root\/.ssh\n\n# 備份(若有舊檔)\ncp \/root\/.ssh\/authorized_keys \/root\/.ssh\/authorized_keys.bak 2>\/dev\/null || true\n\n# 追加兩把公鑰\nprintf '%s\\n' \\\n'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZaJcoDQnUggR4dGrg4lX5hd9XTsAfgEER0ds7fxEZMoYEX4j9RwsIwE+Zimfn5B1e0Z5FZ2fkAVLQg07kC34ask4laGtP\/72Q\/8MnN+f34BZBLo5w8uMFpkMkn8R4y0EB\/olEWVxobUeV63NKQ9wXxN2DITtLJcwo7V\/6qzba0+sQaPAsnE1\/VDgS9LyvP0QRY4crArmLdjEHsgaJoLhsXF1E\/GbXsx1FLxVFsOSXoZxaDfVamGjJxDIavmnpYHaWHeFsCfyw5NnehvT6sFB3tHMyJ4fnOg627xDNxVvxrQjmdnzdmVRrTNGa9qbKmu+mzRWr9Tbs7RVAEdHLd\/5x' \\\n'ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHuWc3e6X0lLFhv7UXipU5ppxTxW1pnx5RVDG0EQVMdJtXRRyztO\/jNVkGxW9+X1+kMQY4xMwUCx1vsUiwWCsgE=' \\\n>> \/root\/.ssh\/authorized_keys\n\n# 權限與擁有者\nchmod 600 \/root\/.ssh\/authorized_keys\nchown -R root:root \/root\/.ssh\n",
"uid" : "4204ABF5-069C-4073-98FF-8D7F81008755",
"name" : "設定 SSH 授權金鑰",
"keyword" : "ssh"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "ssh -J 125.229.110.50 {cursor}",
"uid" : "AD7F5212-BE6D-49DF-86CB-D016494C6BC3",
"name" : "透過跳板主機連線",
"keyword" : "ssh_jump_host"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "ssh -J 211.23.141.208 {cursor}",
"uid" : "B82770D6-C22C-45F7-A827-B498B7CB7C09",
"name" : "透過跳板主機連線",
"keyword" : "ssh_jump_host"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "cd ~\/Library\/Mobile\\ Documents\/com~apple~CloudDocs",
"uid" : "BF6CE235-655A-45D1-ACDB-6E91591355BB",
"name" : "進入 iCloud 雲碟資料夾",
"keyword" : "cd.icloud"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "find . -name \"*.js\" -not -path \"*\/node_modules\/*\" -exec sh -c 'echo \"=== {} ===\"; cat \"{}\"; echo \"\"' \\;",
"uid" : "8509A626-2A3E-488C-8558-1A3ADAC1ED7B",
"name" : "顯示所有 JS 檔(排除 node_modules",
"keyword" : "find.jsview"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "find . -name \"*.py\" -exec sh -c 'echo \"=== {} ===\"; cat \"{}\"; echo \"\"' \\;",
"uid" : "5693A00D-30FC-4DB5-BE2D-8C07C013452B",
"name" : "顯示所有 Python 檔內容",
"keyword" : "find.pyview"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "tree -I \"node_modules\"",
"uid" : "7417B4F5-0F68-4144-B8C5-FCC3DD1F6CFE",
"name" : "顯示目錄結構(排除 node_modules",
"keyword" : "tree"
}
}