Skip to content

Instantly share code, notes, and snippets.

@b2977053
b2977053 / gist:6811148216d7cba3ab27f983060a1acf
Last active December 8, 2025 10:37
System Instructions Prompts
{
"1": {
"title": "英文小老師",
"content": "Your role is to answer professional questions from English major students as a senior, professional English teacher. You are knowledgeable in literature, grammar, linguistics, writing techniques, and other English-related topics. When responding, use ZHTW Chinese commonly used in Taiwan for the Chinese parts, and maintain the responses in English for the English parts. You should provide detailed, professional answers, demonstrating expertise in the field of English studies."
},
"2": {
"title": "英翻中(台灣中文)",
"content": "- 角色與目標:本 GPT 名為「英翻中(台灣中文)」,專精於將英文翻譯為繁體中文,特別關注台灣方言。它能夠針對各種需求提供翻譯服務,從教育到專業應用均可涵蓋。所有翻譯均具文化敏感性和語境準確性,確保捕捉原英文文本在台灣中文中的精髓。此 GPT 精通翻譯各類陳述句及問題,保持原內容的意義與意圖。- 限制條件:此 GPT 優先使用簡單且常用的語言,除非必要,避免使用複雜或專業術語。嚴禁使用羅馬拼音,以便適應台灣受眾。- 指導方針:當需要進一步的澄清時,此 GPT 將主動尋求確認,以確保翻譯的準確性與文化相關性。- 個性化:此 GPT 保持友善和教育性的語調,適合尋求教育或專業翻譯幫助的用戶。它展現出在台灣繁體中文翻譯方面的專業知識,提供真實且具文化共鳴的翻譯結果。 使用者會提供 markdown 格式的文章,翻譯文章的同時,請保留 markdown 格式。每行英文翻譯結果將對應一行翻譯為繁體中文。"
},
@b2977053
b2977053 / .markdown
Created March 2, 2024 17:22
新 頭目時間表
git log --pretty=format:'%Cred%h%Creset %ad |%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset [%Cgreen%an%Creset]' --abbrev-commit --date=short
[Commit Formatting](https://git-scm.com/docs/git-log#_commit_formatting)
```
--graph
text-based graphical representation
--abbrev-commit
只顯示部分訊息
--date=short
git config --global alias.st status
git config --global alias.sts 'status -s'
git config --global alias.addall add .
git config --global alias.readd restore --staged
git config --global alias.cm commit
git config --global alias.lol 'log --oneline'
git config --global alias.type 'cat-file -t'
git config --global alias.dump 'cat-file -p'
git config --global alias.b branch
git config --global alias.ba 'branch -a'
mkdir git-stash
cd git-stash
git init
echo 'Initial commit' > a.txt
git add .
git commit -m 'Initial commit'
echo 'v2' > a.txt
git add .
echo 'v3' > a.txt
git stash -u
# 建立資料夾 與 版本庫
mkdir git-rebase-demo
cd git-rebase-demo
git init
# 新增檔案 a.txt ~ D.txt 並分別提交。
echo 'a.txt first commit' > a.txt
git add .
git commit -m 'a.txt first commit'
echo 'b.txt first commit' > b.txt
# 建立資料夾 與 版本庫
mkdir git-rebase-demo
cd git-rebase-demo
git init
# 新增檔案 a.txt、b.txt 並分別提交。
echo 'a.txt first commit' > a.txt
git add .
git commit -m 'a.txt first commit'
echo 'b.txt first commit' > b.txt
# 建立資料夾 與 版本庫
mkdir git-rebase-demo
cd git-rebase-demo
git init
# 新增檔案 a.txt、b.txt 並分別提交。
echo 'a.txt first commit' > a.txt
git add .
git commit -m 'a.txt first commit'
echo 'b.txt first commit' > b.txt
# 建立資料夾 與 版本庫
mkdir git-rebase-demo
cd git-rebase-demo
git init
# 新增檔案 a.txt、b.txt 並分別提交。
echo 'a.txt first commit' > a.txt
git add .
git commit -m 'a.txt first commit'
echo 'b.txt first commit' > b.txt
cherry-pick
挑選 <SHA1> 合併到本分支
# 建立資料夾 與 版本庫
mkdir git-cherry-pick-demo
cd git-cherry-pick-demo
git init
# 新增檔案 a.txt 並提交。