Skip to content

Commit

Permalink
Edit "换源集合" (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanChain committed Jan 5, 2021
1 parent ad91ab6 commit 087bcd2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/data/blog/cheatsheet/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"hash":"gridsome","data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"/post/pkg-source/","summary":"\n<p>各种换源,我要的都在这里了。针对天朝就不用国际语言了 <g-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f604.png\">😄</g-emoji></p>\n","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-08-20T01:48:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"81","title":"Linux (Ubuntu) Cheatsheet","path":"/post/linux-cht/","summary":"\n<p>Useful commands and tips about system operation. Things more about scripting is in <a href=\"https://allanchain.github.io/blog/post/bash\" rel=\"nofollow\">Bash Cheatsheet</a></p>\n","createdAt":"2020-04-18T04:48:27.000Z","lastEditedAt":"2020-06-30T06:59:29.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"82","title":"Bash Cheatsheet","path":"/post/bash-cht/","summary":null,"createdAt":"2020-04-18T04:48:39.000Z","lastEditedAt":"2020-06-30T06:59:32.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"83","title":"FFmpeg Cheatsheet","path":"/post/ffmpeg-cht/","summary":null,"createdAt":"2020-03-21T23:56:57.000Z","lastEditedAt":"2020-06-30T09:14:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"84","title":"Markdown Cheatsheet","path":"/post/markdown-cht/","summary":"\n<p>Tricks which are less known to markdown starters</p>\n","createdAt":"2020-04-18T04:48:51.000Z","lastEditedAt":"2020-07-17T15:18:28.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"85","title":"Vim Cheatsheet","path":"/post/vim-cht/","summary":null,"createdAt":"2020-04-18T04:48:56.000Z","lastEditedAt":"2020-07-01T13:01:11.000Z","image":null,"labels":[{"id":"blog: cheatsheet"},{"id":"tag: vim"}]}},{"node":{"id":"86","title":"Windows CMD Cheatsheet","path":"/post/win-cmd-cht/","summary":null,"createdAt":"2020-04-18T04:49:03.000Z","lastEditedAt":"2020-08-06T13:16:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"154","title":"Git CheatSheet","path":"/post/git-cht/","summary":null,"createdAt":"2020-12-09T07:32:18.000Z","lastEditedAt":"2020-12-13T01:33:09.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}}]}}},"context":{}}
{"hash":"gridsome","data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"/post/pkg-source/","summary":"\n<p>各种换源,我要的都在这里了。针对天朝就不用国际语言了 <g-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f604.png\">😄</g-emoji></p>\n","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2021-01-05T14:46:43.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"81","title":"Linux (Ubuntu) Cheatsheet","path":"/post/linux-cht/","summary":"\n<p>Useful commands and tips about system operation. Things more about scripting is in <a href=\"https://allanchain.github.io/blog/post/bash\" rel=\"nofollow\">Bash Cheatsheet</a></p>\n","createdAt":"2020-04-18T04:48:27.000Z","lastEditedAt":"2020-06-30T06:59:29.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"82","title":"Bash Cheatsheet","path":"/post/bash-cht/","summary":null,"createdAt":"2020-04-18T04:48:39.000Z","lastEditedAt":"2020-06-30T06:59:32.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"83","title":"FFmpeg Cheatsheet","path":"/post/ffmpeg-cht/","summary":null,"createdAt":"2020-03-21T23:56:57.000Z","lastEditedAt":"2020-06-30T09:14:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"84","title":"Markdown Cheatsheet","path":"/post/markdown-cht/","summary":"\n<p>Tricks which are less known to markdown starters</p>\n","createdAt":"2020-04-18T04:48:51.000Z","lastEditedAt":"2020-07-17T15:18:28.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"85","title":"Vim Cheatsheet","path":"/post/vim-cht/","summary":null,"createdAt":"2020-04-18T04:48:56.000Z","lastEditedAt":"2020-07-01T13:01:11.000Z","image":null,"labels":[{"id":"blog: cheatsheet"},{"id":"tag: vim"}]}},{"node":{"id":"86","title":"Windows CMD Cheatsheet","path":"/post/win-cmd-cht/","summary":null,"createdAt":"2020-04-18T04:49:03.000Z","lastEditedAt":"2020-08-06T13:16:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"154","title":"Git CheatSheet","path":"/post/git-cht/","summary":null,"createdAt":"2020-12-09T07:32:18.000Z","lastEditedAt":"2020-12-13T01:33:09.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}}]}}},"context":{}}
2 changes: 1 addition & 1 deletion assets/data/post/pkg-source/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"hash":"gridsome","data":{"post":{"id":"77","title":"换源集合","summary":"\n<p>各种换源,我要的都在这里了。针对天朝就不用国际语言了 <g-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f604.png\">😄</g-emoji></p>\n","body":"\n<p>众所周知,天朝网络环境需要换源来支撑,闲言少叙:</p>\n<p><a rel=\"nofollow\" href=\"https://mirrors.tuna.tsinghua.edu.cn/\">https://mirrors.tuna.tsinghua.edu.cn/</a></p>\n<h2>\n <a id=\"article-pip\" class=\"anchor-hover\" href=\"#pip\">\n #</a> pip</h2>\n<p><a rel=\"nofollow\" href=\"https://mirrors.tuna.tsinghua.edu.cn/help/pypi/\">https://mirrors.tuna.tsinghua.edu.cn/help/pypi/</a></p>\n<div class=\"highlight highlight-source-shell\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">shell</span>\n </div><pre><code>pip config <span class=\"pl-c1\">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</code></pre></div>\n<h2>\n <a id=\"article-npm\" class=\"anchor-hover\" href=\"#npm\">\n #</a> npm</h2>\n<div class=\"highlight highlight-source-shell\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">shell</span>\n </div><pre><code>npm config <span class=\"pl-c1\">set</span> registry https://registry.npm.taobao.org</code></pre></div>\n<p>sharp 源</p>\n<div class=\"highlight highlight-source-shell\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">shell</span>\n </div><pre><code>yarn config <span class=\"pl-c1\">set</span> sharp_binary_host <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>https://npm.taobao.org/mirrors/sharp<span class=\"pl-pds\">\"</span></span></code></pre></div>\n<h2>\n <a id=\"article-docker\" class=\"anchor-hover\" href=\"#docker\">\n #</a> docker</h2>\n<div class=\"highlight highlight-source-json\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">json</span>\n </div><pre><code><span class=\"pl-s\"><span class=\"pl-pds\">\"</span>registry-mirrors<span class=\"pl-pds\">\"</span></span>: [\n <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>https://hub-mirror.c.163.com<span class=\"pl-pds\">\"</span></span>,\n]</code></pre></div>\n<h2>\n <a id=\"article-maven\" class=\"anchor-hover\" href=\"#maven\">\n #</a> maven</h2>\n<p><code>$HOME/.gradle/init.gradle</code></p>\n<div class=\"highlight highlight-source-groovy-gradle\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">groovy-gradle</span>\n </div><pre><code><span class=\"pl-en\">allprojects</span> {\n repositories {\n maven {\n url <span class=\"pl-s\"><span class=\"pl-pds\">'</span>https://maven.aliyun.com/repository/public/<span class=\"pl-pds\">'</span></span>\n }\n mavenLocal()\n mavenCentral()\n }\n}</code></pre></div>","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-08-20T01:48:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},"context":{}}
{"hash":"gridsome","data":{"post":{"id":"77","title":"换源集合","summary":"\n<p>各种换源,我要的都在这里了。针对天朝就不用国际语言了 <g-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f604.png\">😄</g-emoji></p>\n","body":"\n<p>众所周知,天朝网络环境需要换源来支撑,闲言少叙:</p>\n<p><a rel=\"nofollow\" href=\"https://mirrors.tuna.tsinghua.edu.cn/\">https://mirrors.tuna.tsinghua.edu.cn/</a></p>\n<h2>\n <a id=\"article-pip\" class=\"anchor-hover\" href=\"#pip\">\n #</a> pip</h2>\n<p><a rel=\"nofollow\" href=\"https://mirrors.tuna.tsinghua.edu.cn/help/pypi/\">https://mirrors.tuna.tsinghua.edu.cn/help/pypi/</a></p>\n<div class=\"highlight highlight-source-shell\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">shell</span>\n </div><pre><code>pip config <span class=\"pl-c1\">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</code></pre></div>\n<h2>\n <a id=\"article-npm\" class=\"anchor-hover\" href=\"#npm\">\n #</a> npm</h2>\n<div class=\"highlight highlight-source-shell\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">shell</span>\n </div><pre><code>npm config <span class=\"pl-c1\">set</span> registry https://registry.npm.taobao.org</code></pre></div>\n<p>sharp 源</p>\n<div class=\"highlight highlight-source-shell\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">shell</span>\n </div><pre><code>yarn config <span class=\"pl-c1\">set</span> sharp_binary_host <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>https://npm.taobao.org/mirrors/sharp<span class=\"pl-pds\">\"</span></span></code></pre></div>\n<h2>\n <a id=\"article-docker\" class=\"anchor-hover\" href=\"#docker\">\n #</a> docker</h2>\n<p><code>/etc/docker/daemon.json</code> 或者直接 Docker Desktop 的 GUI 界面里修改:</p>\n<div class=\"highlight highlight-source-json\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">json</span>\n </div><pre><code><span class=\"pl-s\"><span class=\"pl-pds\">\"</span>registry-mirrors<span class=\"pl-pds\">\"</span></span>: [\n <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>https://hub-mirror.c.163.com<span class=\"pl-pds\">\"</span></span>,\n]</code></pre></div>\n<h2>\n <a id=\"article-maven\" class=\"anchor-hover\" href=\"#maven\">\n #</a> maven</h2>\n<p><code>$HOME/.gradle/init.gradle</code></p>\n<div class=\"highlight highlight-source-groovy-gradle\"><div class=\"code-bar\">\n <span class=\"mdi mdi-content-copy\"></span>\n <span class=\"code-lang\">groovy-gradle</span>\n </div><pre><code><span class=\"pl-en\">allprojects</span> {\n repositories {\n maven {\n url <span class=\"pl-s\"><span class=\"pl-pds\">'</span>https://maven.aliyun.com/repository/public/<span class=\"pl-pds\">'</span></span>\n }\n mavenLocal()\n mavenCentral()\n }\n}</code></pre></div>","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2021-01-05T14:46:43.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},"context":{}}
Loading

0 comments on commit 087bcd2

Please sign in to comment.