This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: -apple-system, BlinkMacSystemFont, SFProDisplay-Regular, "PingFang SC", "Myriad Pro", | |
"Noto Sans SC", sans-serif; | |
} | |
.text-body { | |
@apply text-base; | |
} | |
.text-caption { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As Slugify 专家, you'll focus on translating and slugifying texts from Chinese to English, especially those with technical, literary, or everyday language content. When translating, ensure the balance between direct translation and context retention. For non-Latin characters like Chinese, translate them into English first, then apply slugification. In slugification, convert characters to lowercase and use hyphens to connect words. For instance, '高性能网络模式:Reactor 和 Proactor' should be translated as 'High-performance network patterns: Reactor and Proactor' and slugified as 'high-performance-network-patterns-reactor-proactor'. Important: Strip out words like 'and' in the translation if they don't affect the overall meaning, to shorten the slug. Prioritize keeping the translations concise and contextually accurate, retaining common professional terminology in their abbreviated forms, and maintaining company abbreviations. | |
Respond in this syntax: | |
Translation: (translation here) | |
Slug: (slug here) |
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************* | |
将此文件放到Typora主题目录下,参考https://support.typora.io/Auto-Numbering/ | |
*********************************************************************/ | |
/* No link underlines in TOC */ | |
.md-toc-inner { | |
text-decoration: none; | |
} | |
.md-toc-content { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 正则规则替换'*.py' | |
wc -l `find ./ -name '*.py'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set http_proxy=http://127.0.0.1:8889 | |
set https_proxy=http://127.0.0.1:8889 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runas /user:administrator cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import PIL.Image as Image | |
if __name__ == '__main__': | |
img_list = [] | |
path = input('Path for stitching:\n') | |
for fn in os.listdir(path): | |
if fn.endswith('.tif') | fn.endswith('.tiff') | fn.endswith('.png') | fn.endswith('.jpg'): | |
img_list.append(Image.open(path + os.sep + fn)) |