generated from Meekdai/Gmeek-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblogBase.json
1 lines (1 loc) · 14.4 KB
/
blogBase.json
1
{"singlePage": [], "startSite": "", "filingNum": "", "onePageListNum": 15, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "themeMode": "manual", "dayTheme": "light", "nightTheme": "dark", "urlMode": "pinyin", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/GmeekTOC.js'></script>", "style": "", "head": "", "indexScript": "", "indexStyle": "", "bottomText": "\u8f6c\u8f7d\u6587\u7ae0\u8bf7\u6ce8\u660e\u51fa\u5904\u3002", "showPostSource": 1, "iconList": {"Github": "M 8 1.601562 C 4.464844 1.601562 1.601562 4.464844 1.601562 8 C 1.601562 11 3.664062 13.507812 6.449219 14.203125 C 6.417969 14.117188 6.398438 14.015625 6.398438 13.890625 L 6.398438 12.796875 C 6.140625 12.796875 5.703125 12.796875 5.597656 12.796875 C 5.15625 12.796875 4.769531 12.609375 4.578125 12.257812 C 4.371094 11.871094 4.332031 11.277344 3.8125 10.914062 C 3.660156 10.792969 3.777344 10.652344 3.957031 10.671875 C 4.28125 10.765625 4.554688 10.988281 4.8125 11.324219 C 5.066406 11.65625 5.1875 11.734375 5.664062 11.734375 C 5.894531 11.734375 6.238281 11.71875 6.5625 11.667969 C 6.738281 11.226562 7.042969 10.816406 7.410156 10.621094 C 5.28125 10.402344 4.261719 9.34375 4.261719 7.902344 C 4.261719 7.285156 4.527344 6.683594 4.976562 6.179688 C 4.828125 5.679688 4.644531 4.65625 5.03125 4.265625 C 5.992188 4.265625 6.570312 4.886719 6.710938 5.054688 C 7.1875 4.894531 7.710938 4.800781 8.265625 4.800781 C 8.816406 4.800781 9.34375 4.894531 9.824219 5.058594 C 9.960938 4.890625 10.539062 4.265625 11.5 4.265625 C 11.890625 4.65625 11.703125 5.683594 11.554688 6.183594 C 12 6.6875 12.265625 7.285156 12.265625 7.902344 C 12.265625 9.34375 11.25 10.402344 9.121094 10.621094 C 9.707031 10.929688 10.132812 11.785156 10.132812 12.433594 L 10.132812 13.890625 C 10.132812 13.945312 10.121094 13.988281 10.113281 14.035156 C 12.609375 13.160156 14.398438 10.792969 14.398438 8 C 14.398438 4.464844 11.535156 1.601562 8 1.601562 Z M 8 1.601562 "}, "UTC": 8, "rssSplit": "sentence", "exlink": {"Github": "https://github.com/11ze"}, "needComment": 1, "allHead": "", "title": "11ze", "subTitle": "\u601d\u8003\uff0c\u8bb0\u5f55\uff0c\u5206\u4eab\u3002", "avatarUrl": "https://github.githubassets.com/favicons/favicon.svg", "GMEEK_VERSION": "last", "homeUrl": "https://wangze.tech", "postListJson": {"P1": {"htmlDir": "docs/post/MacBook -she-zhi-he-ruan-jian.html", "labels": ["\u8f6f\u4ef6"], "postTitle": "MacBook \u8bbe\u7f6e\u548c\u8f6f\u4ef6", "postUrl": "post/MacBook%20-she-zhi-he-ruan-jian.html", "postSourceUrl": "https://github.com/11ze/11ze.github.io/issues/1", "commentNum": 0, "wordCount": 5645, "description": "## Homebrew\n\n- [\u5b98\u7f51](https://brew.sh/)\n\n```shell\nbrew tap homebrew/cask-fonts\nbrew tap homebrew/cask-versions\nbrew tap buo/cask-upgrade\nbrew tap mongodb/brew\nbrew tap homebrew/autoupdate\n\n# https://github.com/DomT4/homebrew-autoupdate\uff0c\u6bcf 12 \u5c0f\u65f6\u6216\u542f\u52a8\u7cfb\u7edf\u65f6\u81ea\u52a8\u66f4\u65b0\nbrew autoupdate start 43200 --upgrade --cleanup --immediate --sudo\n\nbrew install git git-lfs git-flow\ngit config --global core.autocrlf false # \u4e0d\u81ea\u52a8\u8f6c\u6362 CRLF\ngit config --global core.quotepath off # \u663e\u793a\u539f\u59cb\u6587\u4ef6\u540d\ngit config --global core.ignorecase false # \u533a\u5206\u5927\u5c0f\u5199\ngit config --global init.defaultBranch main\ngit config --global remote.origin.prune true # \u81ea\u52a8\u79fb\u9664\u4e0d\u5b58\u5728\u7684\u8fdc\u7aef\u5206\u652f\ngit config --global user.name username # \u6ce8\u610f\u4e0d\u8981\u7167\u6284\ngit config --global user.email email # \u6ce8\u610f\u4e0d\u8981\u7167\u6284\ngit config --global credential.github.heygears.com.provider username # \u6ce8\u610f\u4e0d\u8981\u7167\u6284\n\n# \u8bbf\u8fbe\u63d2\u4ef6\nbrew install qlmarkdown # \u9884\u89c8 Markdown\n\nbrew install btop\nbrew install dbeaver-community\nbrew install fnm # \u7ba1\u7406 Node.js \u7248\u672c\nbrew install font-jetbrains-mono\nbrew install ghostty # \u7ec8\u7aef\nbrew install iina # \u5a92\u4f53\u64ad\u653e\u5668\nbrew install kap # \u5f55\u5c4f\u548c Gif\nbrew install mac-mouse-fix # \u589e\u5f3a\u9f20\u6807\u529f\u80fd\nbrew install maczip\nbrew install mini-program-studio # \u652f\u4ed8\u5b9d\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u8005\u5de5\u5177\nbrew install neteasemusic # \u7f51\u6613\u4e91\u97f3\u4e50\nbrew install picgo # \u56fe\u5e8a\nbrew install obsidian # \u53cc\u94fe\u7b14\u8bb0\nbrew install postman # API \u5ba2\u6237\u7aef\nbrew install snipaste # \u622a\u56fe\u548c\u8d34\u56fe\nbrew install sourcetree # Git \u5ba2\u6237\u7aef\nbrew install switchhosts\nbrew install tldr # \u50cf man \u547d\u4ee4\u4e00\u6837\u5728\u7ec8\u7aef\u67e5\u770b\u547d\u4ee4\u7684\u8bf4\u660e\u548c\u4f7f\u7528\u4f8b\u5b50\uff0c\u53ef\u8bbe\u7f6e\u522b\u540d alias iman='tldr'\nbrew install wechatwebdevtools # \u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\n\nbrew tap mac-cleanup/mac-cleanup-py\nbrew install mac-cleanup-py # mac-cleanup [-c|-n]\n\n# PHP\nbrew install composer\nbrew install php\n\n# Go\nbrew install go\n\n# \u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u5230 ~/.zshrc\nexport PATH='/Users/wangze/go/bin:$PATH'\nexport GO111MODULE=on\nexport GOPROXY=https://goproxy.cn\n\n# Rust\ncurl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh\nrustc -V && cargo -V\n\n# vi ~/.cargo/config.toml\n[source.crates-io]\nreplace-with = 'ustc'\n\n[source.ustc]\nregistry = 'git://mirrors.ustc.edu.cn/crates.io-index'\n\n# Java\nbrew install maven\nbrew install jenv\n\n# \u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u5230 ~/.zshrc\nexport PATH='$HOME/.jenv/bin:$PATH'\neval '$(jenv init -)'\n\njenv add xxx # \u53ef\u4ee5\u6267\u884c /usr/libexec/java_home \u67e5\u770b xxx\uff0c\u4e00\u822c\u5728 /Library/Java/JavaVirtualMachines/zulu-18.jdk/Contents/Home\n```\n\n## App Store\n\n- [Bob](https://apps.apple.com/cn/app/bob-%E7%BF%BB%E8%AF%91%E5%92%8C-ocr-%E5%B7%A5%E5%85%B7/id1630034110?mt=12) - \u5168\u5c40\u5212\u8bcd\u3001\u622a\u56fe OCR \u7ffb\u8bd1\n- [Command X](https://apps.apple.com/us/app/command-x/id6448461551?mt=12) - \u8bbf\u8fbe\u526a\u5207\u6587\u4ef6\u5feb\u6377\u952e\n- [iBar](https://apps.apple.com/cn/app/ibar-menubar-icon-control-tool/id6443843900?l=en-GB&mt=12) - \u9690\u85cf\u83dc\u5355\u680f\u56fe\u6807\n- [PasteNow](https://apps.apple.com/us/app/pastenow-instant-clipboard/id1552536109) - \u8de8\u8bbe\u5907\u526a\u5207\u677f\n- [WPS Office](https://apps.apple.com/cn/app/wps-office/id1443749478?mt=12)\n- [\u6ef4\u7b54\u6e05\u5355](https://apps.apple.com/cn/app/%E6%BB%B4%E7%AD%94%E6%B8%85%E5%8D%95-%E4%B8%93%E6%B3%A8%E6%97%B6%E9%97%B4%E7%AE%A1%E7%90%86%E5%92%8C%E6%97%A5%E5%8E%86%E6%8F%90%E9%86%92%E4%BA%8B%E9%A1%B9/id966085870?mt=12)\n- [\u817e\u8baf\u4f1a\u8bae](https://apps.apple.com/cn/app/tencent-meeting/id1484048379?l=en-GB)\n\n## \u8f6f\u4ef6\n\n- [Capslock](https://github.com/Vonng/Capslock) - \u589e\u5f3a Caps \u952e\u529f\u80fd\n- [Chrome](https://www.google.com/intl/zh-CN/chrome/)\n- [Cursor](https://www.cursor.com/) - \u4ee3\u7801\u7f16\u8f91\u5668\n- [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n- [JetBrains Toolbox](https://www.jetbrains.com/lp/toolbox/)\n- [Navicat Premium Lite](https://www.navicat.com/en/download/navicat-premium-lite#macos) - \u6570\u636e\u5e93\u7ba1\u7406\u5de5\u5177\n- [OneDrive](https://www.microsoft.com/zh-cn/microsoft-365/onedrive/download)\n- [Raycast](https://www.raycast.com/) - \u542f\u52a8\u5668\n- [Tencent Lemon](https://lemon.qq.com/) - \u7cfb\u7edf\u6e05\u7406\u5de5\u5177\n- [Tiny RDM](https://redis.tinycraft.cc/) - Redis GUI \u5ba2\u6237\u7aef\n- [Visual Studio Code](https://code.visualstudio.com/download) - \u4ee3\u7801\u7f16\u8f91\u5668\n- [\u5fae\u4fe1](https://mac.weixin.qq.com/?lang=zh_CN)\n- [\u5fae\u4fe1\u8f93\u5165\u6cd5](https://z.weixin.qq.com/)\n\n## \u7cfb\u7edf\u8bbe\u7f6e\n\n- \u6253\u5f00\n - \u4e09\u6307\u62d6\u79fb\n - \u89e6\u63a7\u677f\u624b\u52bf - \u66f4\u591a\u624b\u52bf -App Expos\u00e9 - \u56db\u6307\u5411\u4e0b\u6e05\u626b\n - \u4f7f\u7a97\u53e3\u6309\u5e94\u7528\u7a0b\u5e8f\u6210\u7ec4\n - \u4f7f\u7528\u5927\u5199\u9501\u5b9a\u952e\u5207\u6362\u201cABC\u201d\u8f93\u5165\u6cd5\n - \u5728\u6eda\u52a8\u6761\u4e2d\u70b9\u6309\u8df3\u5230\u70b9\u6309\u7684\u4f4d\u7f6e\n - \u952e\u76d8\u5feb\u6377\u952e\n - \u8c03\u5ea6\u4e2d\u5fc3\n - \u5411\u5de6\u79fb\u52a8\u4e00\u4e2a\u7a7a\u95f4 Ctrl + Q\n - \u5411\u53f3\u79fb\u52a8\u4e00\u4e2a\u7a7a\u95f4 Ctrl + W\n - \u8c03\u5ea6\u4e2d\u5fc3\uff1aCtrl + E\n - \u5e94\u7528\u7a0b\u5e8f\u7a97\u53e3\uff1aCtrl + D\n - Finder > Menu Bar > View > Show Path Bar\n - Privacy & Security > Extensions > Added extensions > OneDrive > Finder extensions\n - 20250103\n - General > Extensions > File Providers\n - Privacy & Security > File & Folders\n\n- \u5173\u95ed\n - \u8c03\u5ea6\u4e2d\u5fc3 - \u6839\u636e\u6700\u8fd1\u7684\u4f7f\u7528\u60c5\u51b5\u81ea\u52a8\u91cd\u65b0\u6392\u5217\u7a7a\u95f4\n - iCloud - \u540c\u6b65\u684c\u9762\u4e0e\u6587\u7a3f\u6587\u4ef6\u5939\n - \u5728\u7a0b\u5e8f\u575e\u4e2d\u663e\u793a\u6700\u8fd1\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\n - Spotlight\n - \u53d6\u6d88\u52fe\u9009\u6240\u6709\u5185\u5bb9\n - sudo mdutil -a -i off\n - Keyboard > Service > Text > Search man Page Index in Terminal\n - Desktop & Dock > Windows > Tiled windows have margins\n\n## DNS\n\n- [\u817e\u8baf\u4e91 DNSPod](https://www.dnspod.cn/products/publicdns)\uff1a119.29.29.29\n- [\u963f\u91cc\u4e91](https://www.alidns.com/knowledge?type=SETTING_DOCS#user_ios)\uff1a223.5.5.5\uff0c223.6.6.6\n\n## iCloud\n\n```shell\n# crontab -e \u5b9a\u65f6 kill iCloud \u8fdb\u7a0b\uff0ciCloud \u4f1a\u81ea\u52a8\u91cd\u542f\uff0c\u786e\u4fdd iCloud \u540c\u6b65\u6b63\u5e38\n*/10 * * * * killall bird && killall cloudd\n```\n\n## Chrome\n\n- \u8bbf\u95ee\u4e00\u6b21 [google.com/ncr](https://google.com/ncr)\uff0c\u907f\u514d Google \u81ea\u52a8\u91cd\u5b9a\u5411\n- F12 \u8fdb\u5165 DevTools\uff0cSetting > Experiments > Redesign of the filter bar in the Network Panel\uff0c\u5173\u95ed\uff0c\u6548\u679c\uff1a\n - \n\n## Github\n\n- \u52a0\u901f\uff1a<https://github.com/521xueweihan/GitHub520>\n- \u89e3\u51b3 Connection Closed By x.x.x.x Port 22\n\n```shell\n# ~/.ssh/config\nHost github.com\n HostName ssh.github.com\n User {username}\n Port 443\n```\n\n\n## Docker\n\nSettings - Docker Engine\n\n```json\n{\n 'builder': {\n 'gc': {\n 'defaultKeepStorage': '10GB',\n 'enabled': true\n }\n },\n 'experimental': false,\n 'log-driver': 'json-file',\n 'log-opts': {\n 'max-size': '10m',\n 'max-file': '3'\n }\n}\n```\n\u3002", "top": 0, "createdAt": 1739340872, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/GmeekTOC.js'></script>", "head": "", "ogImage": "https://github.githubassets.com/favicons/favicon.svg", "createdDate": "2025-02-12", "dateLabelColor": "#0969da"}, "P2": {"htmlDir": "docs/post/Mac -he- Linux -an-zhuang- oh-my-zsh.html", "labels": ["\u8f6f\u4ef6"], "postTitle": "Mac \u548c Linux \u5b89\u88c5 oh-my-zsh", "postUrl": "post/Mac%20-he-%20Linux%20-an-zhuang-%20oh-my-zsh.html", "postSourceUrl": "https://github.com/11ze/11ze.github.io/issues/2", "commentNum": 0, "wordCount": 1556, "description": "## \u5b89\u88c5 zsh\n\n```shell\n# \u67e5\u770b\u7cfb\u7edf\u6240\u6709 shell\nchsh -l\n\n# \u5982\u679c\u6ca1\u6709 zsh \u5219\u5b89\u88c5\n\n## Ubuntu\nsudo apt install zsh\n\n## Centos\nsudo yum install zsh\n\n## Mac\nbrew install zsh\n\n# \u8bbe\u7f6e\u9ed8\u8ba4 shell \u4e3a zsh\nchsh -s /bin/zsh\n\n# \u5982\u679c\u63d0\u793a\u6ca1\u6709 chsh \u547d\u4ee4\uff0c\u7f16\u8f91 .bash_profile\uff0c\u5728\u672b\u5c3e\u6dfb\u52a0\nexport SHELL=/bin/zsh\nexec /bin/zsh -l\n\n# \u65b0\u5f00\u4e00\u4e2a\u7ec8\u7aef\u786e\u8ba4\u662f\u5426\u5b8c\u6210\u5207\u6362\necho $SHELL\n```\n\n## \u5b89\u88c5 oh-my-zsh\n\n```shell\n# \u5b98\u7f51\uff1a<https://ohmyz.sh>\nsh -c '$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)'\n```\n\n- \u89e3\u51b3\u8bbf\u95ee\u4e0d\u5230 Github\uff1a<https://github.com/521xueweihan/GitHub520>\n - \u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u5185\u5bb9\uff1a<https://raw.hellogithub.heygears.com/hosts>\n - \u4fee\u6539\u540e\u4e3b\u52a8\u5237\u65b0 DNS \u6216\u7b49\u5f85\u7f13\u5b58\u8fc7\u671f\uff0c\u5927\u7ea6 10 \u5206\u949f\n\n## \u5b89\u88c5\u63d2\u4ef6\n\n### Linux\n\n```shell\ncd ~/.oh-my-zsh/custom/plugins\n\n# https://github.com/zsh-users/zsh-syntax-highlighting.git\ngit clone https://github.com/zsh-users/zsh-syntax-highlighting.git\n\n# https://github.com/zsh-users/zsh-autosuggestions.git\ngit clone https://github.com/zsh-users/zsh-autosuggestions.git\n\n# autojump\n\n## Ubuntu\nsudo apt install autojump -y\n\n## Centos\nyum install autojump-zsh -y\n\nvi ~/.zshrc\n\n# \u542f\u7528\u63d2\u4ef6\nplugins=(git zsh-autosuggestions zsh-syntax-highlighting autojump)\n\n# \u53d6\u6d88\u6ce8\u91ca\nHIST_STAMPS='mm/dd/yyyy'\n\n# \u505c\u6b62\u68c0\u67e5\u66f4\u65b0\uff0c\u52a0\u5230 `source $ZSH/oh-my-zsh.sh`\u00a0\u884c\u4e4b\u524d\nDISABLE_AUTO_UPDATE='true'\n```\n\n### Mac\n\n- \u6309\u7167\u6bcf\u6761\u5b89\u88c5\u547d\u4ee4\u6267\u884c\u7ed3\u675f\u7684\u63d0\u793a\u542f\u7528\u63d2\u4ef6\n\n```shell\nbrew install autojump\nbrew install zsh-syntax-highlighting\nbrew install zsh-autosuggestions\n```\n\n## \u81ea\u52a8\u66f4\u65b0\u63d2\u4ef6\n\n```shell\n# <https://github.com/Pilaton/OhMyZsh-full-autoupdate>\ncd ~/.oh-my-zsh/custom/plugins\ngit clone https://github.com/Pilaton/OhMyZsh-full-autoupdate.git\n\nvi ~/.zshrc\nplugins=(... ohmyzsh-full-autoupdate)\n```\n\u3002", "top": 0, "createdAt": 1739410092, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/GmeekTOC.js'></script>", "head": "", "ogImage": "https://github.githubassets.com/favicons/favicon.svg", "createdDate": "2025-02-13", "dateLabelColor": "#0969da"}}, "singeListJson": {}, "labelColorDict": {"bug": "#d73a4a", "documentation": "#0075ca", "duplicate": "#cfd3d7", "enhancement": "#a2eeef", "good first issue": "#7057ff", "help wanted": "#008672", "invalid": "#e4e669", "question": "#d876e3", "wontfix": "#ffffff", "\u8f6f\u4ef6": "#aaaaaa"}, "displayTitle": "11ze", "faviconUrl": "https://github.githubassets.com/favicons/favicon.svg", "ogImage": "https://github.githubassets.com/favicons/favicon.svg", "primerCSS": "<link href='https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/Primer/21.0.7/primer.css' rel='stylesheet' />", "prevUrl": "disabled", "nextUrl": "disabled"}