Skip to content

Commit

Permalink
Edit "换源集合" (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanChain committed Aug 20, 2020
1 parent ff062b8 commit 93371b0
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 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-06-30T06:47:31.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"}]}}]}}},"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":"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"}]}}]}}},"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-lang\">shell</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-lang\">shell</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-lang\">shell</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-lang\">json</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>","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-06-30T06:47:31.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-lang\">shell</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-lang\">shell</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-lang\">shell</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-lang\">json</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-lang\">groovy-gradle</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":{}}
4 changes: 2 additions & 2 deletions blog/cheatsheet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@
</div><div class="d-flex flex-no-wrap justify-space-between"><div><div class="v-card__subtitle py-1"><span class="mr-4 pb-1 d-inline-block"><i aria-hidden="true" class="v-icon notranslate mdi mdi-calendar-month-outline theme--light"></i>
2020-02-28 14:29
</span><span class="pb-1 d-inline-block"><i aria-hidden="true" class="v-icon notranslate mdi mdi-calendar-edit theme--light"></i>
2020-06-30 06:47
2020-08-20 01:48
</span></div><div class="v-card__text"><span class="v-badge ma-1 v-badge--bordered v-badge--overlap theme--light"><a href="/blog/blog/cheatsheet/" aria-current="page" draggable="false" class="font-weight-bold v-chip--active v-chip v-chip--clickable v-chip--label v-chip--link theme--light v-size--small white--text" style="background-color:#6655d6;border-color:#6655d6;"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-archive theme--light" style="font-size:16px;"></i>
cheatsheet
</span></a><span class="v-badge__wrapper"><span aria-atomic="true" aria-label="Badge" aria-live="polite" role="status" class="v-badge__badge" style="bottom:calc(100% - 9px);left:calc(100% - 12px);right:auto;top:auto;background-color:#6655d6;border-color:#6655d6;display:none;"></span></span></span></div></div><!----></div><div class="v-card__text py-0 black--text"><div class="clean-last-p">
Expand All @@ -649,6 +649,6 @@
</div></div></div><a href="/blog/" tabindex="0" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mdi mdi-home theme--light"></i></div><div class="v-list-item__content"><div class="v-list-item__title">Home</div></div></a><a href="/blog/post/about" tabindex="0" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mdi mdi-information-variant theme--light"></i></div><div class="v-list-item__content"><div class="v-list-item__title">About</div></div></a><a href="/blog/labels" tabindex="0" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mdi mdi-label-multiple-outline theme--light"></i></div><div class="v-list-item__content"><div class="v-list-item__title">All Labels</div></div></a><div tabindex="-1" aria-disabled="true" class="v-list-item v-list-item--disabled theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mdi mdi-plus-circle-outline theme--light"></i></div><div class="v-list-item__content"><div class="v-list-item__title">Add to Homescreen</div></div></div><a tabindex="0" href="https://github.com/AllanChain" target="_blank" rel="noopener" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mdi mdi-github theme--light"></i></div><div class="v-list-item__content"><div class="v-list-item__title">Follow Me</div></div></a><hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"><div tabindex="-1" class="v-list-item theme--light"><div class="v-list-item__content"><span><i aria-hidden="true" class="v-icon notranslate mdi mdi-cogs theme--light" style="font-size:16px;"></i>
&lt;version&gt; - pending
</span></div></div></div></div><div class="v-navigation-drawer__border"></div></nav></div></div>
<script>window.__INITIAL_STATE__={"data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"\u002Fpost\u002Fpkg-source\u002F","summary":"\n\u003Cp\u003E各种换源,我要的都在这里了。针对天朝就不用国际语言了 \u003Cg-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f604.png\"\u003E😄\u003C\u002Fg-emoji\u003E\u003C\u002Fp\u003E\n","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-06-30T06:47:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},{"node":{"id":"81","title":"Linux (Ubuntu) Cheatsheet","path":"\u002Fpost\u002Flinux-cht\u002F","summary":"\n\u003Cp\u003EUseful commands and tips about system operation. Things more about scripting is in \u003Ca href=\"https:\u002F\u002Fallanchain.github.io\u002Fblog\u002Fpost\u002Fbash\" rel=\"nofollow\"\u003EBash Cheatsheet\u003C\u002Fa\u003E\u003C\u002Fp\u003E\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":"\u002Fpost\u002Fbash-cht\u002F","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":"\u002Fpost\u002Fffmpeg-cht\u002F","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":"\u002Fpost\u002Fmarkdown-cht\u002F","summary":"\n\u003Cp\u003ETricks which are less known to markdown starters\u003C\u002Fp\u003E\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":"\u002Fpost\u002Fvim-cht\u002F","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":"\u002Fpost\u002Fwin-cmd-cht\u002F","summary":null,"createdAt":"2020-04-18T04:49:03.000Z","lastEditedAt":"2020-08-06T13:16:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}}]}}},"context":{}};(function(){var s;(s=document.currentScript||document.scripts[document.scripts.length-1]).parentNode.removeChild(s);}());</script><script src="/blog/assets/js/chunk-vendors~205977d4.js" defer></script><script src="/blog/assets/js/page--src--templates--label-vue~f71cff67.js" defer></script><script src="/blog/assets/js/app~d0ae3f07.js" defer></script><script src="/blog/assets/js/app~31ecd969.js" defer></script><script src="/blog/assets/js/app~3994dad5.js" defer></script><script src="/blog/assets/js/app~678f84af.js" defer></script><script src="/blog/assets/js/app~03631906.js" defer></script><script src="/blog/assets/js/app~3e856ab6.js" defer></script>
<script>window.__INITIAL_STATE__={"data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"\u002Fpost\u002Fpkg-source\u002F","summary":"\n\u003Cp\u003E各种换源,我要的都在这里了。针对天朝就不用国际语言了 \u003Cg-emoji class=\"g-emoji\" alias=\"smile\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f604.png\"\u003E😄\u003C\u002Fg-emoji\u003E\u003C\u002Fp\u003E\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":"\u002Fpost\u002Flinux-cht\u002F","summary":"\n\u003Cp\u003EUseful commands and tips about system operation. Things more about scripting is in \u003Ca href=\"https:\u002F\u002Fallanchain.github.io\u002Fblog\u002Fpost\u002Fbash\" rel=\"nofollow\"\u003EBash Cheatsheet\u003C\u002Fa\u003E\u003C\u002Fp\u003E\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":"\u002Fpost\u002Fbash-cht\u002F","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":"\u002Fpost\u002Fffmpeg-cht\u002F","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":"\u002Fpost\u002Fmarkdown-cht\u002F","summary":"\n\u003Cp\u003ETricks which are less known to markdown starters\u003C\u002Fp\u003E\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":"\u002Fpost\u002Fvim-cht\u002F","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":"\u002Fpost\u002Fwin-cmd-cht\u002F","summary":null,"createdAt":"2020-04-18T04:49:03.000Z","lastEditedAt":"2020-08-06T13:16:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}}]}}},"context":{}};(function(){var s;(s=document.currentScript||document.scripts[document.scripts.length-1]).parentNode.removeChild(s);}());</script><script src="/blog/assets/js/chunk-vendors~205977d4.js" defer></script><script src="/blog/assets/js/page--src--templates--label-vue~f71cff67.js" defer></script><script src="/blog/assets/js/app~d0ae3f07.js" defer></script><script src="/blog/assets/js/app~31ecd969.js" defer></script><script src="/blog/assets/js/app~3994dad5.js" defer></script><script src="/blog/assets/js/app~678f84af.js" defer></script><script src="/blog/assets/js/app~03631906.js" defer></script><script src="/blog/assets/js/app~3e856ab6.js" defer></script>
</body>
</html>

0 comments on commit 93371b0

Please sign in to comment.