From a79c9f12535034826048161b60c02224f0b890bd Mon Sep 17 00:00:00 2001 From: billryan Date: Sun, 27 Oct 2019 18:49:47 +0800 Subject: [PATCH 1/7] update for webhook test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab898ab95..4fb918b0c 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,6 @@ This work is licensed under the **Creative Commons Attribution-ShareAlike 4.0 In ## To Do - [ ] add multiple languages support -- [ ] add implementations of `Python`, `C++` and `Java` code +- [ ] add implementations of `Python`, `C++`, `Go` and `Java` code - [x] add time and space complexity analysis - [x] add proper Chinese fonts for PDF output From 4732e3c5910125f1b39b7d446b9c072b2f2538ac Mon Sep 17 00:00:00 2001 From: billryan Date: Sun, 27 Oct 2019 21:34:59 +0800 Subject: [PATCH 2/7] fix travis 10m timeout issue --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6aacdf5e8..2b2cfc04a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ before_script: - unzip ~/raw_fonts/NotoSansCJKtc-hinted.zip -d ~/raw_fonts/NotoSansCJKtc-hinted script: + - while sleep 30; do echo "still alive"; done & - sed '/\(en\/\)/! d' LANGS.md.bak > LANGS.md - mv -t ~/.fonts/noto ~/raw_fonts/NotoSans-unhinted/*-Regular.ttf ~/raw_fonts/NotoSans-unhinted/*-Bold.ttf ~/raw_fonts/NotoSans-unhinted/*-Black.ttf - sudo fc-cache -f -v From 7a4747fa456e25489697552881272bd37cc26a69 Mon Sep 17 00:00:00 2001 From: billryan Date: Sun, 27 Oct 2019 22:29:47 +0800 Subject: [PATCH 3/7] disable zh-hans pdf output, fix travis timeout issue --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2b2cfc04a..e5bfe2a93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ script: - sed '/\(zh-hans\/\)/! d' LANGS.md.bak > LANGS.md - mv -t ~/.fonts/noto ~/raw_fonts/NotoSansCJKsc-hinted/*-DemiLight.otf ~/raw_fonts/NotoSansCJKsc-hinted/*-Bold.otf ~/raw_fonts/NotoSansCJKsc-hinted/*-Black.otf - sudo fc-cache -f -v - - gitbook pdf . + # - gitbook pdf . - gitbook epub . - gitbook mobi . - rm ~/.fonts/noto/*.otf From 0a2007f00bfa65f0558e83c72e60c8fa32756192 Mon Sep 17 00:00:00 2001 From: billryan Date: Sun, 3 Nov 2019 23:20:38 +0800 Subject: [PATCH 4/7] remove swiftype plugin --- book.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/book.json b/book.json index d1c40b9ab..04eb5605d 100644 --- a/book.json +++ b/book.json @@ -4,7 +4,6 @@ "ga", "katex", "richquotes", - "swiftype", "sitemap2", "github", "edit-link", @@ -23,10 +22,6 @@ "richquotes": { "todos": true }, - "swiftype": { - "token": "utQHy1R2XyiVqDqaZqws", - "version": "2.0.0" - }, "sitemap2": { "hostname": "http://algorithm.yuanbin.me/" }, From 909099bc1558bbcf37a3b273fc64b53a01bc62b6 Mon Sep 17 00:00:00 2001 From: Arky Yang Date: Tue, 9 Jun 2020 15:20:54 -0700 Subject: [PATCH 5/7] Corrected Typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit line 21: Weikong ->为空 --- zh-hans/basics_data_structure/stack.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-hans/basics_data_structure/stack.md b/zh-hans/basics_data_structure/stack.md index e76ee96fc..891b3ab19 100644 --- a/zh-hans/basics_data_structure/stack.md +++ b/zh-hans/basics_data_structure/stack.md @@ -18,7 +18,7 @@ stack = collections.deque() #### Methods -- `len(stack) != 0` - 判断`stack`是否weikong +- `len(stack) != 0` - 判断`stack`是否为空 - `stack[-1]` - 取栈顶元素,不移除 - `pop()` - 移除栈顶元素并返回该元素 - `append(item)` - 向栈顶添加元素 From 4ac76a542a729a8560cf4d8f3671b9a3545f51e1 Mon Sep 17 00:00:00 2001 From: billryan Date: Mon, 13 Dec 2021 23:55:40 +0800 Subject: [PATCH 6/7] Update README.md add job info --- zh-hans/README.md | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/zh-hans/README.md b/zh-hans/README.md index 837101141..14dbec8ae 100644 --- a/zh-hans/README.md +++ b/zh-hans/README.md @@ -104,33 +104,9 @@ Slack 的自助邀请注册功能已启用,访问 Date: Mon, 13 Dec 2021 23:56:16 +0800 Subject: [PATCH 7/7] Update README.md --- zh-hans/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-hans/README.md b/zh-hans/README.md index 14dbec8ae..8930288c2 100644 --- a/zh-hans/README.md +++ b/zh-hans/README.md @@ -104,7 +104,7 @@ Slack 的自助邀请注册功能已启用,访问