From 93371b02367b6a08391e51828fb25f16638064ea Mon Sep 17 00:00:00 2001 From: AllanChain Date: Thu, 20 Aug 2020 01:49:52 +0000 Subject: [PATCH] =?UTF-8?q?Edit=20"=E6=8D=A2=E6=BA=90=E9=9B=86=E5=90=88"?= =?UTF-8?q?=20(#77)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/data/blog/cheatsheet/index.json | 2 +- assets/data/post/pkg-source/index.json | 2 +- blog/cheatsheet/index.html | 4 ++-- post/pkg-source/index.html | 21 +++++++++++++++++---- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/assets/data/blog/cheatsheet/index.json b/assets/data/blog/cheatsheet/index.json index 1b944219a..d78d042e2 100644 --- a/assets/data/blog/cheatsheet/index.json +++ b/assets/data/blog/cheatsheet/index.json @@ -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

各种换源,我要的都在这里了。针对天朝就不用国际语言了 😄

\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

Useful commands and tips about system operation. Things more about scripting is in Bash Cheatsheet

\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

Tricks which are less known to markdown starters

\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":{}} \ No newline at end of file +{"hash":"gridsome","data":{"label":{"id":"blog: cheatsheet","name":"cheatsheet","type":"blog","belongsTo":{"edges":[{"node":{"id":"77","title":"换源集合","path":"/post/pkg-source/","summary":"\n

各种换源,我要的都在这里了。针对天朝就不用国际语言了 😄

\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

Useful commands and tips about system operation. Things more about scripting is in Bash Cheatsheet

\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

Tricks which are less known to markdown starters

\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":{}} \ No newline at end of file diff --git a/assets/data/post/pkg-source/index.json b/assets/data/post/pkg-source/index.json index d213d4c4c..603911b7d 100644 --- a/assets/data/post/pkg-source/index.json +++ b/assets/data/post/pkg-source/index.json @@ -1 +1 @@ -{"hash":"gridsome","data":{"post":{"id":"77","title":"换源集合","summary":"\n

各种换源,我要的都在这里了。针对天朝就不用国际语言了 😄

\n","body":"\n

众所周知,天朝网络环境需要换源来支撑,闲言少叙:

\n

https://mirrors.tuna.tsinghua.edu.cn/

\n

\n \n # pip

\n

https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

\n
shell
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
\n

\n \n # npm

\n
shell
npm config set registry https://registry.npm.taobao.org
\n

sharp 源

\n
shell
yarn config set sharp_binary_host \"https://npm.taobao.org/mirrors/sharp\"
\n

\n \n # docker

\n
json
\"registry-mirrors\": [\n  \"https://hub-mirror.c.163.com\",\n]
","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-06-30T06:47:31.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},"context":{}} \ No newline at end of file +{"hash":"gridsome","data":{"post":{"id":"77","title":"换源集合","summary":"\n

各种换源,我要的都在这里了。针对天朝就不用国际语言了 😄

\n","body":"\n

众所周知,天朝网络环境需要换源来支撑,闲言少叙:

\n

https://mirrors.tuna.tsinghua.edu.cn/

\n

\n \n # pip

\n

https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

\n
shell
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
\n

\n \n # npm

\n
shell
npm config set registry https://registry.npm.taobao.org
\n

sharp 源

\n
shell
yarn config set sharp_binary_host \"https://npm.taobao.org/mirrors/sharp\"
\n

\n \n # docker

\n
json
\"registry-mirrors\": [\n  \"https://hub-mirror.c.163.com\",\n]
\n

\n \n # maven

\n

$HOME/.gradle/init.gradle

\n
groovy-gradle
allprojects {\n  repositories {\n    maven {\n      url 'https://maven.aliyun.com/repository/public/'\n    }\n    mavenLocal()\n    mavenCentral()\n  }\n}
","createdAt":"2020-02-28T14:29:13.000Z","lastEditedAt":"2020-08-20T01:48:42.000Z","image":null,"labels":[{"id":"blog: cheatsheet"}]}},"context":{}} \ No newline at end of file diff --git a/blog/cheatsheet/index.html b/blog/cheatsheet/index.html index c7d37b8de..3913f804a 100644 --- a/blog/cheatsheet/index.html +++ b/blog/cheatsheet/index.html @@ -637,7 +637,7 @@
2020-02-28 14:29 - 2020-06-30 06:47 + 2020-08-20 01:48
@@ -649,6 +649,6 @@
Home
About
All Labels
Add to Homescreen
Follow Me
<version> - pending
- + diff --git a/post/pkg-source/index.html b/post/pkg-source/index.html index be80982b3..37e623d96 100644 --- a/post/pkg-source/index.html +++ b/post/pkg-source/index.html @@ -561,7 +561,7 @@ .v-application .warning--text.text--darken-4 { color: #802700 !important; caret-color: #802700 !important; -} +}
@@ -573,7 +573,7 @@
CC-by-nc-sa
2020-02-28 14:29 - 2020-06-30 06:47 + 2020-08-20 01:48
@@ -595,7 +595,20 @@

# docker

json
"registry-mirrors": [
   "https://hub-mirror.c.163.com",
-]
- +