init: Alfred preferences
This commit is contained in:
BIN
Alfred.alfredpreferences/snippets/gcloud/icon.png
Normal file
BIN
Alfred.alfredpreferences/snippets/gcloud/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
10
Alfred.alfredpreferences/snippets/gcloud/info.plist
Normal file
10
Alfred.alfredpreferences/snippets/gcloud/info.plist
Normal 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>
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud storage cp local-file.txt gs:\/\/my-new-bucket\/",
|
||||
"uid" : "3C6A0C0E-F3CE-44F9-BD68-D72D19F1C5B5",
|
||||
"name" : "上傳檔案至 Google Cloud Storage 的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud storage buckets list",
|
||||
"uid" : "D0329628-CB10-4725-A189-8FC5BB2185A3",
|
||||
"name" : "列出 Google Cloud 儲存桶的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud iam service-accounts list",
|
||||
"uid" : "6F12271A-423F-4661-B077-B45E60F76ACD",
|
||||
"name" : "列出 Google Cloud 服務帳戶的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute firewall-rules list",
|
||||
"uid" : "19A17535-2D14-4634-85BE-E0D28AAE6086",
|
||||
"name" : "列出 Google Cloud 防火牆規則的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute addresses list",
|
||||
"uid" : "2AD2589D-98F4-44DE-B902-5E2A1827AD42",
|
||||
"name" : "列出 Google Cloud 靜態 IP 位址的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud projects list",
|
||||
"uid" : "11FEB31D-6772-41D0-9998-1ED0E833624C",
|
||||
"name" : "列出 Google Cloud 項目的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute zones list",
|
||||
"uid" : "02A6570A-E2B9-4C0B-BF8C-9B001A7BEB12",
|
||||
"name" : "列出 Google Compute 區域的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute instances list",
|
||||
"uid" : "6EAC8855-D855-491C-9893-2192258AD89F",
|
||||
"name" : "列出 Google Compute 實例的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud init",
|
||||
"uid" : "75B0454F-6B4B-42DE-ABBC-C9B2F4849CA4",
|
||||
"name" : "初始化 Google Cloud 環境的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute instances delete {cursor} --zone=us-central1-a",
|
||||
"uid" : "99281B2D-B42A-4860-BD8E-12DDF00CE383",
|
||||
"name" : "刪除 Google Cloud 實例的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute firewall-rules delete my-firewall-rule",
|
||||
"uid" : "29CCB099-3BBB-456C-97A7-FFDEB28E8C89",
|
||||
"name" : "刪除 Google Cloud 防火牆規則的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud functions call my-function",
|
||||
"uid" : "E12ADD5C-A901-4418-AF9A-BACDFA196C71",
|
||||
"name" : "呼叫 Google Cloud 函數的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "brew install google-cloud-sdk",
|
||||
"uid" : "99E784CA-24F4-4878-AC04-03BAFD73602F",
|
||||
"name" : "安裝 Google Cloud SDK 的 Homebrew 命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute instances create my-instance --zone=us-central1-a --address=my-static-ip",
|
||||
"uid" : "2AA6D727-B42D-419F-B3BF-2773F68490A7",
|
||||
"name" : "建立 Google Cloud Compute 實例的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud storage buckets create gs:\/\/my-new-bucket",
|
||||
"uid" : "D8981FC6-DDBF-4472-B4EF-620E71399800",
|
||||
"name" : "建立 Google Cloud 儲存桶的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute instances create {cursor} --zone=us-central1-a",
|
||||
"uid" : "87B6F2FD-03C8-45E8-A327-BD5338F9A897",
|
||||
"name" : "建立 Google Cloud 實例的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute firewall-rules create my-firewall-rule --allow tcp:80,tcp:443 --target-tags http-server",
|
||||
"uid" : "086554F1-FF2C-401F-B4DE-EC3800544CB2",
|
||||
"name" : "建立 Google Cloud 防火牆規則的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud compute addresses create my-static-ip --region=us-central1",
|
||||
"uid" : "003415BD-A478-41C7-A247-32FABAE93A00",
|
||||
"name" : "建立 Google Cloud 靜態 IP 位址的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud projects add-iam-policy-binding [YOUR_PROJECT_ID] --member='user:example@example.com' --role='roles\/editor'",
|
||||
"uid" : "05C0093D-425C-4FFE-B6DD-77E41BF68165",
|
||||
"name" : "為 Google Cloud 項目添加 IAM 角色的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud projects get-iam-policy {cursor}",
|
||||
"uid" : "93A0B206-5872-418D-9426-A8C9A57A1045",
|
||||
"name" : "獲取 Google Cloud 項目的 IAM 策略指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud config set project {cursor}",
|
||||
"uid" : "C6B32B5E-8AD8-48C9-A264-C53225F39E80",
|
||||
"name" : "設定目前 Google Cloud 項目的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud app deploy",
|
||||
"uid" : "F811FB69-CFAC-413A-A35F-F065FABCBDCE",
|
||||
"name" : "部署 Google App 的命令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "gcloud functions deploy my-function --runtime python39 --trigger-http --allow-unauthenticated",
|
||||
"uid" : "3FD0B1A5-0848-4CA7-ACB8-6DB446041AF0",
|
||||
"name" : "部署 Google Cloud 函數的指令",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user