\usepackage[UTF8]{ctex}
This file contains hidden or 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
| { | |
| "dns": { | |
| "servers": [ | |
| { | |
| "tag": "dns_proxy", | |
| "address": "https://1.1.1.1/dns-query", | |
| "address_resolver": "dns_resolver", | |
| "strategy": "ipv4_only", | |
| "detour": "select" | |
| }, |
This file contains hidden or 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
| from bs4 import BeautifulSoup | |
| from datetime import datetime | |
| import pathlib | |
| import re | |
| def format_tag(memo): | |
| return re.sub(r"([^\ ])#", r"\1 #", memo) | |
| def flomo2obmemos(input_path, output_path=pathlib.Path("out")): |
This file contains hidden or 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
| patch: | |
| show_notifications_when: appropriate # 状态通知,适当,也可设为全开(always)全关(never) | |
| style/color_scheme: github | |
| style/horizontal: true | |
| style/font_face: "HanaMinA" | |
| preset_color_schemes: | |
| github: | |
| name: "Github" | |
| author: "yzlnew" | |
| horizontal: true # 水平排列 |
This file contains hidden or 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
| patch: | |
| style/color_scheme: github | |
| style/horizontal: true | |
| style/font_face: "Sarasa Mono SC" | |
| preset_color_schemes: | |
| github: | |
| name: "Github" | |
| author: "yzlnew" | |
| horizontal: true # 水平排列 | |
| inline_preedit: true # 单行显示,false双行显示 |
This file contains hidden or 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
| md ~\.vim\autoload | |
| $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
| (New-Object Net.WebClient).DownloadFile( | |
| $uri, | |
| $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( | |
| "~\.vim\autoload\plug.vim" | |
| ) | |
| ) |
This file contains hidden or 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
| # 变大两倍,并且转换成 gif 方便直接添加 | |
| magick convert small.jpg -resize 200% bigger.gif | |
| # 目录下批处理 | |
| find *.jpg | xargs -I {} magick convert -resize 400% {} {}.gif |