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" : "# -*- coding:utf-8 -*-",
"uid" : "36A412F5-D0C6-4029-B1B6-3D1B96FA562F",
"name" : "# -*- coding:utf-8 -*-",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "source .\/bin\/activate",
"uid" : "57AEFB5E-9AB6-47E8-9167-C666993CC35F",
"name" : "Activate Virtual Environment",
"keyword" : "activate"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python -m build",
"uid" : "3740F533-C989-443D-943E-0FB3706817AE",
"name" : "Build Python Package",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "super().__init__()",
"uid" : "FA4C3326-5FEE-4400-81D1-3AABB5EF7CDE",
"name" : "Call Super Init Method",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "super().__init__(*args, **kwargs)",
"uid" : "478DDB46-E68C-4115-B206-7874AD788391",
"name" : "Call Super Init with args and kwargs",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "super().__init__(**kwargs)",
"uid" : "F3F0BD0E-3CB4-427C-AB89-886A6C47CBDD",
"name" : "Call Super Init with kwargs",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import sys\n\nif sys.version_info < (3, 10):\n reason = \"requires python3.10+\"\n sys.exit(reason)",
"uid" : "39B0B1A5-EFFF-4DB4-9235-1FF844807451",
"name" : "Check Python Version Requirement",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python3 --version",
"uid" : "0D3FE85C-DCC1-4B58-ADF7-8162C4C87C59",
"name" : "Check Python Version",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "streamlit cache clear",
"uid" : "75D206B5-2A6A-45E3-8ADF-B20B99E49B06",
"name" : "Clear Streamlit Cache",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python -O -m compileall",
"uid" : "377BA978-D367-4275-8748-17866ABFE856",
"name" : "Compile All Python Files",
"keyword" : "compileall"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "from rich.console import Console\nconsole = Console()\n\ntry:\n do_something()\nexcept Exception:\n console.print_exception(show_locals=True)\n",
"uid" : "E63E56D1-570E-4F4E-998A-3776DAF4341A",
"name" : "Enhanced Exception Handling",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip freeze > requirements.txt",
"uid" : "70D13408-C6F7-4737-A571-F4AB938E47C5",
"name" : "Export Installed Packages to File",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import os\n\nterm_size = os.get_terminal_size()\nprint(\"─\" * term_size.columns)\n\nmsg = \"Hello, world!\"\nprint(msg.center(term_size.columns, \"─\"))\nprint(msg.ljust(term_size.columns, \"─\"))\nprint(msg.rjust(term_size.columns, \"─\"))\n",
"uid" : "CF6DB620-EE23-42BB-9718-5D477DA5CE31",
"name" : "Format Terminal Output",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import functools\n\n\ndef trace(f):\n @functools.wraps(f)\n def decorated_function(*args, **kwargs):\n print(f, args, kwargs)\n result = f(*args, **kwargs)\n print(result)\n\n return decorated_function\n",
"uid" : "E6FB46AF-5E73-45BA-8E90-C5116904B7B6",
"name" : "Function Tracing Decorator",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pipreqs",
"uid" : "27055C75-0CCC-4FC2-AAAD-37DCD051AA6D",
"name" : "Generate Requirements File",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pipreqs --mode no-pin",
"uid" : "FFFD24FD-5283-42B1-948D-A345CA0223D1",
"name" : "Generate Requirements Without Pinning",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import pandas as pd",
"uid" : "2EB546B0-ACEB-4363-A185-EF9B19CD86FE",
"name" : "Import Pandas Library",
"keyword" : "pd"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import seaborn as sns",
"uid" : "8E90B1FA-12F7-466D-9B63-3A87399A7964",
"name" : "Import Seaborn Library",
"keyword" : "sns"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "from rich import inspect\ninspect(my_list, methods=True)",
"uid" : "01E6F383-6CB6-4613-8F4A-0F4B192C9091",
"name" : "Inspect Object with Rich",
"keyword" : "inspect"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip install --target=. {cursor}",
"uid" : "392B224D-AE5F-4BE0-A342-E725242AFBBB",
"name" : "Install Package to Target Directory",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pyenv install {cursor}",
"uid" : "1BAEF55D-322F-48F3-9EC7-38A97F209674",
"name" : "Install Pyenv Version",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip install {cursor}",
"uid" : "71228135-BA67-47B1-8010-E3EF21FEA4DE",
"name" : "Install Python Package",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip install -r requirements.txt -t .",
"uid" : "DD7B349D-03BF-444A-B54C-CF9E2CC68B47",
"name" : "Install Requirements to Target Directory",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# Libraries",
"uid" : "39CE5FF6-8FA6-49E2-B1A1-5FC5B83D5A4B",
"name" : "# Libraries",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pyenv install --list",
"uid" : "C0D1681A-E249-4841-87D8-CD2B30D0EAFA",
"name" : "List Available Pyenv Versions",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pyenv versions",
"uid" : "B88F2990-EEE2-4CD9-B7B9-1DA443E2CE35",
"name" : "List Pyenv Versions",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pipenv",
"uid" : "DD99CC29-711A-4358-8076-7ED9A2C6C147",
"name" : "Pipenv Usage Overview",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "#!\/usr\/bin\/env python\n# -*- coding: utf-8 -*-\n",
"uid" : "8616D340-8EBB-4B2B-83F0-35698802D48F",
"name" : "Python 指定編碼和解釋器路徑",
"keyword" : "py"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "#!\/usr\/bin\/env python\n# -*- coding: utf-8 -*-\n\n\"\"\"\ntemplate.py: Description of what this script does.\n\nAuthor: Your Name\nCopyright: Copyright 2020, Your Name\nLicense: MIT\nVersion: 1.0\n\"\"\"\n\ndef main():\n # Your code goes here\n pass\n\nif __name__ == \"__main__\":\n main()\n",
"uid" : "47E57C87-1425-4465-834E-7855152797DB",
"name" : "Python 腳本模板",
"keyword" : "py"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "with open('unicode.txt', encoding='utf-8') as f:\n for line in f:\n print(repr(line))\n",
"uid" : "945DB477-9746-4E52-8CD6-45BC6099EDFD",
"name" : "Read Unicode File",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "streamlit run app.py",
"uid" : "CCEC0D63-C15E-4D70-93F7-35B0CD2415AB",
"name" : "Run Streamlit Application",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python3 -m http.server 8000",
"uid" : "73328280-66E4-4975-8391-FAE45BEE89B3",
"name" : "Start HTTP Server",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python -m telnetlib -d {cursor} 22",
"uid" : "C5FAB63C-92CB-4BF4-A102-49F2E2A0A524",
"name" : "Telnet Connection Test",
"keyword" : "telnet"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "def __init__(self, *args, **kwargs):\n\n",
"uid" : "978D44DA-3DA7-4B14-8012-C5B100538F66",
"name" : "__init__",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "def __init__(self):",
"uid" : "EB6EBEB8-6D5A-4922-97DE-170F36801018",
"name" : "__init__",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "async def read_data(db):\n pass",
"uid" : "E20DF11A-08B9-4C83-8E71-A57B1FE7BAB4",
"name" : "async def",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "async def async_func(): pass",
"uid" : "36FC3D9B-49BC-4264-BFDB-8E5ECB5B8D54",
"name" : "async def async_func(): pass",
"keyword" : "async"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# 檢查當前程式是否被作為主程式執行\nif __name__ == \"__main__\":\n",
"uid" : "9D946079-5174-4308-8ABD-F37291ED619C",
"name" : "check_if_module_is_run_as_main_program",
"keyword" : "main"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "class C:\n pass\n\n",
"uid" : "787CE7DC-18DF-4EF9-B723-9C9040727B26",
"name" : "class",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "class Class:\n def method(self):\n pass\n",
"uid" : "98F9EDA4-E194-4E59-B605-2B1C41153DEA",
"name" : "class",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "class ClassName:\n def __init__(self):\n pass\n",
"uid" : "4BC3F44A-0E95-4EFF-8E35-07D16379AED1",
"name" : "define_class_classname_with_no_init_logic",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "class Something:\n a = 33",
"uid" : "0FB37915-EE6F-427C-903C-CD8DECD0D699",
"name" : "define_something_class_with_a_constant_a",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "class Something:\n def __init__(self):\n self.a = 33\n",
"uid" : "DCD4D846-27D8-475A-9EF1-3AA410858482",
"name" : "define_something_class_with_initialization",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# doctest: +IGNORE_EXCEPTION_DETAIL",
"uid" : "1E5A28D8-6419-4870-ACB2-6FBF3676689C",
"name" : "# doctest: +IGNORE_EXCEPTION_DETAIL",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# doctest: +SKIP",
"uid" : "C92E5FA2-F5C6-4F59-8FEC-0BA3844E7C53",
"name" : "# doctest: +SKIP",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : " def __enter__(self):\n pass\n",
"uid" : "A1F8289A-0FD5-4A74-B56C-44CF2E46EF63",
"name" : "enter_function",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "except Exception:",
"uid" : "E4292134-2240-44AA-80D5-5E8A003344B8",
"name" : "except Exception:",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "except Exception as e:",
"uid" : "2C4773AE-BE6D-4136-8C2B-90C21617DAB8",
"name" : "except Exception as e:",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : " # def __exit__(self, exc_type, exc, exc_tb):\n def __exit__(self, *exc):\n pass\n",
"uid" : "73E41AFE-6D23-424B-B5F5-86BF334FC816",
"name" : "exit_function",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for _ in range(20):\n",
"uid" : "C442B386-6BDC-46BE-A319-29C1D83934A5",
"name" : "for _ in range(20):",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for a, b in zip():",
"uid" : "4D1B1AF7-9B04-4811-9471-CBF2A015670B",
"name" : "for a, b in zip():",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for i in",
"uid" : "3A675AA2-3898-4D3F-91CC-E8641B6F704C",
"name" : "for i in",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for k, v in",
"uid" : "789F8F4C-A30A-4A31-86A9-7A972737FCA0",
"name" : "for k, v in",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for line in lines:",
"uid" : "178E0845-6409-4A37-8FAC-DBDBB6301CFC",
"name" : "for line in lines:",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for x in",
"uid" : "919B8D7C-479F-4214-9C94-8F26B9AFE18F",
"name" : "for x in",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "for i in range(4):\n",
"uid" : "F9582747-167B-4277-B9FA-3A7ACF8C0681",
"name" : "for_range",
"keyword" : ""
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import inspect",
"uid" : "5D3FA83E-1080-426D-AEA2-125C69C8DE41",
"name" : "import inspect",
"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" : "__init__.py",
"uid" : "0D6F8E0D-DA31-49CE-88FB-5040747A7FA1",
"name" : "init_module_python_file",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import matplotlib as mpl\nimport matplotlib.pyplot as plt",
"uid" : "6E93A648-9F23-4BF1-8378-383F7406D0AD",
"name" : "matplotlib",
"keyword" : "mpl"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "def method(self, arg):\n pass\t\t\n",
"uid" : "DA101779-0BFA-4746-B73C-05C5F08591AD",
"name" : "method",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import sys\n\nif sys.version_info < (3, 5):\n reason = \"requires python3.5+\"\n sys.exit(reason)\n",
"uid" : "E1242CA1-3AA8-44C3-8497-4B0EA156A877",
"name" : "needs_py35",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import sys\n\nif sys.version_info < (3, 7):\n reason = \"requires python3.7+\"\n sys.exit(reason)\n",
"uid" : "2CD54E73-E79F-42E9-BC32-46118ED384C8",
"name" : "needs_py37",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import sys\n\nif sys.version_info < (3, 9):\n reason = \"requires python3.9+\"\n sys.exit(reason)\n",
"uid" : "CA2D8781-6A31-4324-9529-0E9E4BB0C311",
"name" : "needs_py39",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "# noqa",
"uid" : "97091745-F252-49D7-90EB-9A67F761EA1D",
"name" : "# noqa",
"keyword" : "noqa"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import numpy as np\n",
"uid" : "7BF7E0AD-32D7-4D31-B32B-0283F0EA55B8",
"name" : "numpy",
"keyword" : "np"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "print('Something went wrong')",
"uid" : "F7369F5B-16A6-482C-8D2D-8E6CE2D3DB39",
"name" : "print_error_message",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "#!\/usr\/bin\/env python\n# -*- coding: utf-8 -*-\n",
"uid" : "8616D340-8EBB-4B2B-83F0-35698802D48F",
"name" : "python_script_declaration_with_encoding_utf8",
"keyword" : "py"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "#!\/usr\/bin\/env python\n# -*- coding: utf-8 -*-\n\n\"\"\"\ntemplate.py: Description of what this script does.\n\nAuthor: Your Name\nCopyright: Copyright 2020, Your Name\nLicense: MIT\nVersion: 1.0\n\"\"\"\n\ndef main():\n # Your code goes here\n pass\n\nif __name__ == \"__main__\":\n main()\n",
"uid" : "47E57C87-1425-4465-834E-7855152797DB",
"name" : "python_script_template_with_main_function",
"keyword" : "py"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pyenv global {cursor}",
"uid" : "71D43C87-FA68-44F2-A035-02135E54BB58",
"name" : "set_pyenv_global_version",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "print(f\"started at {time.strftime('%X')}\")\n{cursor}\nprint(f\"finished at {time.strftime('%X')}\")",
"uid" : "0CE7DC53-AB09-435F-B96D-1D0B672DFDA1",
"name" : "start_and_finish_time_printing",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python3 -m http.server",
"uid" : "3571D5CF-E5FA-47C5-AFFA-E716EDA9DD65",
"name" : "使用 Python 3 內建的 HTTP 伺服器模組",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import os\n\nterm_size = os.get_terminal_size()\nprint(\"─\" * term_size.columns)\n\nmsg = \"Hello, world!\"\nprint(msg.center(term_size.columns, \"─\"))\nprint(msg.ljust(term_size.columns, \"─\"))\nprint(msg.rjust(term_size.columns, \"─\"))\n",
"uid" : "CF6DB620-EE23-42BB-9718-5D477DA5CE31",
"name" : "使用終端機寬度來美化文字輸出",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "import streamlit as st",
"uid" : "B8A90284-844B-4F83-AE81-DE66E7C70B7A",
"name" : "匯入 Streamlit 模組並使用 \"st\" 作為別名",
"keyword" : "st"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "from rich.traceback import install\n\ninstall(show_locals=True)",
"uid" : "B497B775-4B34-42B2-B2E3-64FECBF362A3",
"name" : "啟用 Rich 套件的 traceback 功能,顯示本地變數",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "print(f\"started at {time.strftime('%X')}\")\n{cursor}\nprint(f\"finished at {time.strftime('%X')}\")",
"uid" : "0CE7DC53-AB09-435F-B96D-1D0B672DFDA1",
"name" : "在程式碼中加入時間戳記,顯示開始時間和結束時間",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "python3 -m venv .venv",
"uid" : "1F1F16EE-2B22-4186-BF0F-4737445418E1",
"name" : "建立虛擬環境指令",
"keyword" : "venv"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "from icecream import ic",
"uid" : "3A1A85AD-AD92-4F99-BD63-341B4FE9FB00",
"name" : "從 IceCream 模組中匯入 \"ic\" 函數",
"keyword" : "ic"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "from loguru import logger",
"uid" : "607E101D-486E-4771-9D41-0179489AF34A",
"name" : "從 Loguru 模組中匯入 \"logger\" 對象",
"keyword" : "loguru"
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip install --upgrade streamlit-authenticator",
"uid" : "7A0581A7-1735-4B77-9673-FC79C8FA368D",
"name" : "更新 Streamlit Authenticator 套件到最新版本",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip install streamlit --upgrade",
"uid" : "9B5F9B2F-A076-49B4-9EB3-0A8C3D8772EA",
"name" : "更新 Streamlit 套件到最新版本",
"keyword" : ""
}
}

View File

@@ -0,0 +1,8 @@
{
"alfredsnippet" : {
"snippet" : "pip install --upgrade pip",
"uid" : "143D08E8-D40C-4EC1-B8BB-2838B3704186",
"name" : "更新 pip 套件管理器",
"keyword" : ""
}
}