profile
viewpoint
木杉 zhmushan Zhejiang University City College Hangzhou, China Spelled as Mu Shan(木杉) in Mandarin.

zhmushan/abc 152

A better Deno framework to create web application.

zhmushan/go-common 106

哔哩哔哩 bilibili b站 后台源码

denolib/setup-deno 34

Set up your GitHub Actions workflow with a specific version of deno

deno-china/website 31

Deno中文社区(后端部分)

jihuayu/FZU-OOP-2020 9

福州大学2020年面向对象程序设计

zhmushan/deno_init 8

Quickly initialize a Deno project

zhmushan/deno_path 6

deno path manipulation libraries

zhmushan/gif-generator 5

:beers: 自定义 gif 表情包字幕

denolib/typeorm 4

Ported from https://github.com/typeorm/typeorm

issue commentdenoland/deno

Deno.sh domain

Hi, i'm here, very sorry for being late. In the beginning, I used deno.sh to serve my personal private projects, without considering its impact. If the community needs this domain name, I am willing to transfer it for free.

JerryGreen

comment created time in a day

issue commentdenoland/deno

file_server.ts is not setting the correct content-type header when serving index.html

Ideally, html files should be rendered instead of displaying the code directly.

But we will face this issue, if we use the http-server model directly: Most deno developers often need to browse typescript files, but .ts extname has been defined as a video file.

Because of the name of file_server, I prefer to use it as a file explorer on default mode, and the http-server mode can be enabled by configuration. And we still need to listen to other developers' suggestions.

agusbena

comment created time in a day

issue commentdenoland/deno

file_server.ts is not setting the correct content-type header when serving index.html

see https://github.com/denoland/deno/pull/3423#discussion_r352273793 In fact, we should set the content-type according to extname, but this will cause inconvenience to browse .ts files. In previous versions, some files were downloaded directly instead of displaying the content on the browser, so this was temporarily set to plain. IMO, we can browse files in a way similar to deno_website2

agusbena

comment created time in a day

Pull request review commentdenoland/deno

fix: file_server.ts not setting the correct content-type when serving index.html #4056

 async function serveFile(   const [file, fileInfo] = await Promise.all([open(filePath), stat(filePath)]);   const headers = new Headers();   headers.set("content-length", fileInfo.len.toString());-  headers.set("content-type", "text/plain; charset=utf-8");+  headers.set("content-type", "text/html; charset=utf-8");

In fact, we should set the content-type according to extname, but this will cause inconvenience to browse .ts files. In previous versions, some files were downloaded directly instead of displaying the content on the browser, so this was temporarily set to plain.

agusbena

comment created time in a day

PR opened denoland/deno

upgrade: dprint 0.6.1

close #4025

+4 -4

0 comment

2 changed files

pr created time in a day

push eventzhmushan/deno

木杉

commit sha 2385adbb1b6be0a86ab7de72798066258a48162b

upgrade: dprint 0.6.1

view details

push time in a day

Pull request review commentdenoland/deno

upgrade: dprint 0.6.1

 dependencies = [  "deno_typescript 0.34.0",  "dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",  "dlopen 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",- "dprint-plugin-typescript 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",+ "dprint-plugin-typescript 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",

Ok, thanks for reply. I am installing cargo, since this is my friend's device.

zhmushan

comment created time in a day

push eventzhmushan/deno

push time in a day

PR closed denoland/deno

upgrade: dprint 0.6.1

<!-- Before submitting a PR, please read https://deno.land/std/manual.md#contributing --> close #4025

+2 -2

0 comment

2 changed files

zhmushan

pr closed time in a day

PR opened denoland/deno

upgrade: dprint 0.6.1

<!-- Before submitting a PR, please read https://deno.land/std/manual.md#contributing --> close #4025

+2 -2

0 comment

2 changed files

pr created time in a day

push eventzhmushan/deno

zhmushan

commit sha d380982cd26fa843a77119dade4fa19da5ceb001

upgrade: dprint 0.6.1

view details

push time in a day

fork zhmushan/hosts

镜像:https://scaffrey.coding.net/p/hosts/git / https://git.qvq.network/googlehosts/hosts

fork in a day

startedgooglehosts/hosts

started time in a day

fork zhmushan/deno

A secure JavaScript and TypeScript runtime

https://deno.land/

fork in a day

issue openeddsherret/dprint

[bug]: Incorrectly removed semicolon at the end of the for loop

for(;;);

related: https://github.com/denoland/deno/issues/4025

created time in 4 days

create barnchquadev/server

branch : dev

created branch time in 4 days

issue openeddenoland/deno

[bug]: deno fmt incorrect formatting in @v0.33.0

on deno@v0.33.0, deno fmt will remove the trailing semicolon.

for(;;);

created time in 4 days

issue commentzhmushan/abc

Abc.start doesn't return Promise<void> so it appears to never resolve

Currently I tend to keep the original design.

For adding new APIs, we need to consider whether this change brings more convenience or more complexity. In my opinion, if the server fails to start, an exception should be thrown directly instead of using onSuccess oronError and other APIs to listen. If the server is shut down normally, the program will naturally execute the next line. Since there are countless situations to be considered in the real world, we cannot design a corresponding api for each situation. We should use Typescript itself to do as many things as possible, and behave more "naturally" than "designed".

alexjamesmalcolm

comment created time in 5 days

startedkt3k/now-deno-example

started time in 6 days

issue commentzhmushan/abc

Abc.start doesn't return Promise<void> so it appears to never resolve

It should be resolved when the server is shutdown. We just need to modify this.server.listener.close(); to this.server.close(); here, following code will print "exit" when "/true" is requested:

const app = abc();
app.get("/:var", c => {
  const variable = c.params.var;
  if (variable === "true") {
    app.close();
  }

  return variable;
});

await app.start({
  port: 8080
});

console.log("exit");

Welcome to send a pr!

alexjamesmalcolm

comment created time in 6 days

delete branch zhmushan/abc

delete branch : set_resp_headers_default

delete time in 9 days

push eventzhmushan/abc

木杉

commit sha f995f1e1c97fbb69d2f2783bd3220b67cc9687b0

init resp headers default (#48)

view details

push time in 9 days

PR merged zhmushan/abc

init resp headers default
+1 -1

0 comment

1 changed file

zhmushan

pr closed time in 9 days

issue commentzhmushan/abc

Unable to respond with HTTP Headers

We can do this by setting response.headers, but now we should initialize header manually:

app.get("/", c => {
  c.response.headers = new Headers();
  c.response.headers.append("key", "value");
});

I have sent a pr #48 , headers are initialized by default

alexjamesmalcolm

comment created time in 9 days

PR opened zhmushan/abc

init resp headers default
+1 -1

0 comment

1 changed file

pr created time in 9 days

create barnchzhmushan/abc

branch : set_resp_headers_default

created branch time in 9 days

startedservo/webrender

started time in 9 days

push eventzhmushan/deno

zhmushan

commit sha 931acf2393922a9338dbbe0696447dc2c7d114e9

throw if not URIError

view details

push time in 11 days

push eventzhmushan/deno

zhmushan

commit sha aec5bfc4e969d7273706d75d8f6b47dc9004e7b6

throw if not URIError

view details

push time in 11 days

Pull request review commentdenoland/deno

(file_server): fix serving with unorthodox filename

 function html(strings: TemplateStringsArray, ...values: unknown[]): string { listenAndServe(   addr,   async (req): Promise<void> => {-    const normalizedUrl = posix.normalize(req.url);-    const decodedUrl = decodeURIComponent(normalizedUrl);-    const fsPath = posix.join(target, decodedUrl);+    let normalizedUrl = posix.normalize(req.url);+    try {+      normalizedUrl = decodeURIComponent(normalizedUrl);+    } catch {}

If I open the deno_wibesite2/public/ via file_server. It will redirect to the index.html. After that, %PUBLIC_URL% will be requested automatically and at this time file_server will be broken.

zhmushan

comment created time in 12 days

Pull request review commentdenoland/deno

(file_server): fix serving with unorthodox filename

 function html(strings: TemplateStringsArray, ...values: unknown[]): string { listenAndServe(   addr,   async (req): Promise<void> => {-    const normalizedUrl = posix.normalize(req.url);-    const decodedUrl = decodeURIComponent(normalizedUrl);-    const fsPath = posix.join(target, decodedUrl);+    let normalizedUrl = posix.normalize(req.url);+    try {+      normalizedUrl = decodeURIComponent(normalizedUrl);+    } catch {}

https://github.com/denoland/deno_website2/blob/master/public/index.html#L5

zhmushan

comment created time in 12 days

Pull request review commentdenoland/deno

(file_server): fix serving with unorthodox filename

 function html(strings: TemplateStringsArray, ...values: unknown[]): string { listenAndServe(   addr,   async (req): Promise<void> => {-    const normalizedUrl = posix.normalize(req.url);-    const decodedUrl = decodeURIComponent(normalizedUrl);-    const fsPath = posix.join(target, decodedUrl);+    let normalizedUrl = posix.normalize(req.url);+    try {+      normalizedUrl = decodeURIComponent(normalizedUrl);+    } catch {}

We had to do this, in fact I found this bug when I opened deno_website2/public/. There is a resource path with “%”. I referenced https://github.com/ljharb/qs/blob/master/lib/utils.js#L116

zhmushan

comment created time in 12 days

push eventzhmushan/deno

zhmushan

commit sha 56ed252b4f8ae80fa62dc72387c43c2da10d9232

cleanup

view details

push time in 12 days

issue commenthttp-party/http-server

Can't display files named like "%"

I don't know where you handled req.url. (I'm not familiar with these node modules

zhmushan

comment created time in 12 days

PR opened denoland/deno

(file_server): fix serving with unorthodox filename

<!-- Before submitting a PR, please read https://deno.land/std/manual.md#contributing -->

+17 -3

0 comment

3 changed files

pr created time in 12 days

push eventzhmushan/deno

zhmushan

commit sha 7683d643cd72933ff610af5e9e74890ff9f42a72

fmt

view details

push time in 12 days

fork zhmushan/http-server

a simple zero-configuration command-line http server

fork in 12 days

create barnchzhmushan/deno

branch : zh

created branch time in 12 days

push eventzhmushan/deno

木杉

commit sha 7e116dd70d7c194f2967d64e7700aae0bb17100f

Support utf8 in file_server (#3495)

view details

Axetroy

commit sha 83f95fb8dfaed42eee3e1e0cd3a6e9b94f05ef2d

fetch support URL instance as input (#3496)

view details

Gurwinder Singh

commit sha 22a2afe5588ae71301db6b9a6000d241ef1e762a

Use async-await at few places, fix spelling mistake (#3499)

view details

Axetroy

commit sha de946989150d74204678da7f613a4e039d033e46

Feat: Add more dir APIs for Deno (#3491)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 33d2e3d53601c4e56e4ac56b75e336cf1152ad08

std/node: better error message for read perm in require() (#3502)

view details

Bartek Iwańczuk

commit sha e1eb458cad8caf5a0f08ad1d44caba7d557daf92

upgrade: tokio 0.2 in deno_core_http_bench, take2 (#3435)

view details

Yoshiya Hinosawa

commit sha 3115781e4316653ab3619e3d94bdbce01fca4ec2

feat: show detailed version with --version (#3507)

view details

Axetroy

commit sha bb24fb74ffe0bb35649e0adbb1473458c8abf71f

fix permission errors are swallowed by fs.emptyDir (#3501)

view details

Yoshiya Hinosawa

commit sha ff6b514a7b1087e7e5f363305cce46b513a3e562

Improve empty test case error messages (#3514)

view details

Ry Dahl

commit sha 077b6f7672b0d92edc9488622790d78fd8ab20c4

Reduce all directory functions to Deno.dir() (#3518)

view details

Christian Bromann

commit sha 1c09cc63c8b9c33842ee302c93aebc6593be8b15

fix code example (#3519)

view details

Axetroy

commit sha ef30d376db94bda24ed31947a1cc264b827705dc

fix permission errors are swallowed by fs.copy() (#3504)

view details

Ryan Dahl

commit sha fcae4a7c0dc74701f3b1919bfd76cfdc1a0321ed

v0.27.0

view details

Kevin (Kun) "Kassimo" Qian

commit sha 9ef0b18eb0b4c337ccfc8d0add36bec6b657262f

repl: do not crash on async op reject (#3527)

view details

Yoshiya Hinosawa

commit sha 29562ed61ea42e46c86cef919f27033f6b3427b0

docs(std/encoding/yaml): add usage document (#3529)

view details

Nayeem Rahman

commit sha e8d82a6348d4cf9fc6a023fe16bf75df7fea61b0

feat: Add missing mod.ts files in std (#3509) std/archive/tar.ts: - Remove FileReader. - Remove FileWriter. std/encoding/csv.ts: - ExtendedParseOptions -> ParseOptions - HeaderOption -> HeaderOptions - ParseOptions -> ReadOptions - readAll() -> readMatrix() std/encoding/yaml.ts: - DumpOptions -> StringifyOptions std/fmt/colors.ts: - getEnabled() -> getColorEnabled() - setEnabled() -> setColorEnabled() std/testing/mod.ts: - Re-export sibling modules.

view details

Nayeem Rahman

commit sha b7b0668c782dd4bc92237d91116f033e57536238

feat: Return null on error in Deno.dir() (#3531)

view details

Yoshiya Hinosawa

commit sha 80da2ac8dea9f2e77bd81273530b8f7ff42d8a93

fix(std/encoding/yaml): support document separator in parseAll (#3535)

view details

Nayeem Rahman

commit sha f4f4c6bcb435ffb7e1dd9383d8d39e9e36b1337a

fix: Use sync ops when clearing the console (#3533)

view details

Nayeem Rahman

commit sha f07ffe89806392698fb8052691b2826f82f15bbe

feat: Add Deno.dir("executable") (#3526)

view details

push time in 12 days

issue openedhttp-party/http-server

Can't display files named like "%"

image

created time in 12 days

issue commentwuhan2020/wuhan2020.github.io

WSL下编译失败, 抛出YAMLException

  1. yaml 14行缩进可能有问题 2. 当前工程依赖还不支持node12,降到10

谢谢!那应该就是nodejs版本问题了

zhmushan

comment created time in 16 days

PR opened wuhan2020/wuhan2020.github.io

fix contributing.md(en-us)

Expected:

Actual:

  • [Guide For contribution](#Guide For contribution)
    • [To submit data](#To submit data)
    • [To submit a new issue or initialize a pull request](#To submit a new issue or initialize a pull request)
      • [0、To submit a new issue](#0To submit a new issue)
      • [1、To claim task](#1To claim task)
      • [2、To fork this repository](#2To fork this repository)
      • [3、Clone the repository](#3Clone the repository)
      • [4、To create a branch](#4To create a branch)
      • [5、To modify content and submit](#5To modify content and submit)
      • [6、Upstream repository change synchronization](#6Upstream repository change synchronization)
      • [7、To push new branch to remote repository](#7To push new branch to remote repository)
      • [8、To create a Pull Request](#8To create a Pull Request)
      • [9、To resolve a merge conflict](#9To resolve a merge conflict)
      • [10、After the merge , you can](#10After the merge , you can)
    • [Robot specification](#Robot specification)
    • [Meet us on Slack](#Meet us on Slack)
+16 -16

0 comment

1 changed file

pr created time in 16 days

create barnchzhmushan/wuhan2020.github.io

branch : zh

created branch time in 16 days

create barnchzhmushan/wuhan2020.github.io

branch : zh

created branch time in 16 days

issue commentwuhan2020/wuhan2020.github.io

编译失败

补充依赖安装信息:

┌─[zhmushan@zhmushan-surface-go] - [/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io] - [2020-02-06 03:28:01]
└─[130] npm i
npm WARN deprecated extract-text-webpack-plugin@2.1.2: Deprecated. Please use https://github.com/webpack-contrib/mini-c          ss-extract-plugin
npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.          com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.c          om/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number           of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use i          t, and update to graceful-fs@4.x.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number o          f issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versio          ns of Node.js

> node-sass@4.13.1 install /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/linux-x64-72_binding.node
Download complete..] - :
Binary saved to /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/node-sass/vendor/linux-x64-72/binding.no          de
Caching binary to /home/zhmushan/.npm/node-sass/4.13.1/linux-x64-72_binding.node

> core-js@2.6.11 postinstall /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> ejs@2.7.4 postinstall /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> node-sass@4.13.1 postinstall /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/node-sass
> node scripts/build.js

Binary found at /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/node-sass/vendor/linux-x64-72/binding.no          de
Testing binary
Binary is fine

> docsite@1.3.9-wuhan2020.5 postinstall /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/docsite
> opencollective-postinstall

Thank you for using docsite!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/docsite/donate

npm WARN rollback Rolling back node-pre-gyp@0.14.0 failed (this is probably harmless): EINVAL: invalid argument, scandi          r '/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/fsevents/node_modules'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN file-loader@3.0.1 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies           yourself.
npm WARN eslint-config-ali@1.0.3 requires a peer of eslint@^3.6.0 but none is installed. You must install peer dependen          cies yourself.
npm WARN eslint-config-ali@1.0.3 requires a peer of eslint-plugin-import@^1.16.0 but none is installed. You must instal          l peer dependencies yourself.
npm WARN eslint-config-ali@1.0.3 requires a peer of eslint-plugin-react@^6.3.0 but none is installed. You must install           peer dependencies yourself.
npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer depende          ncies yourself.
npm WARN The package react is included as both a dev and production dependency.
npm WARN The package react-dom is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"a          ny"} (current: {"os":"linux","arch":"x64"})

added 1423 packages from 1045 contributors and audited 20082 packages in 266.242s

28 packages are looking for funding
  run `npm fund` for details

found 7 vulnerabilities (1 low, 6 high)
  run `npm audit fix` to fix them, or `npm audit` for details
zhmushan

comment created time in 16 days

issue openedwuhan2020/wuhan2020.github.io

编译失败

环境:

  • nodejs: v12.15.0
  • os: ubuntu(WSL)

错误信息:

┌─[zhmushan@zhmushan-surface-go] - [/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io] - [2020-02-06 03:32:32]
└─[0] npm run build

> site@0.0.1 build /mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io
> docsite build

YAMLException: bad indentation of a mapping entry at line 14, column 2:
     community:
     ^
    at generateError (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:167:          10)
    at throwError (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:173:9)               at readBlockMapping (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:1          107:7)
    at composeNode (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:1359:1          2)
    at readDocument (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:1519:          3)
    at loadDocuments (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:1575          :5)
    at load (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:1596:19)                   at Object.safeLoad (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/js-yaml/lib/js-yaml/loader.js:16          18:10)
    at Object.<anonymous> (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/docsite/lib/generateHTMLFile.          js:34:26)
    at Module._compile (internal/modules/cjs/loader.js:955:30) {
  name: 'YAMLException',
  reason: 'bad indentation of a mapping entry',
  mark: Mark {
    name: null,
    buffer: 'pages:\n' +
      '  # key is the dirname of pages in src/pages\n' +
      '  home:\n' +
      '    # 首页配置\n' +
      '    zh-cn:\n' +
      "      title: 'Wuhan2020'\n" +
      "      keywords: '官网,首页'\n" +
      "      description: 'Wuhan2020官网'\n" +
      '    # home config\n' +
      '    en-us:\n' +
      "      title: 'Wuhan2020'\n" +
      "      keywords: 'Official,Wuhan2020'\n" +
      "      description: 'Wuhan2020 Official Website'\n" +
      ' community:\n' +
      '    # 社区页配置\n' +
      '    zh-cn:\n' +
      "      title: '社区'\n" +
      "      keywords: 'Wuhan2020,社区'\n" +
      "      description: 'Wuhan2020社区'\n" +
      '    # community page config\n' +
      '    en-us:\n' +
      "      title: 'Community'\n" +
      "      keywords: 'Seata,Community'\n" +
      "      description: 'Seata Community'\n" +
      '  blog:\n' +
      '    # 博客列表页配置\n' +
      '    zh-cn:\n' +
      "      title: '博客'\n" +
      "      keywords: 'Wuhan2020,博客'\n" +
      "      description: 'Wuhan2020 博客'\n" +
      '    # blog list page config\n' +
      '    en-us:\n' +
      "      title: 'Blog'\n" +
      "      keywords: 'Wuhan2020,Blog'\n" +
      "      description: 'Wuhan2020 Blog'\n" +
      '\u0000',
    position: 304,
    line: 13,
    column: 1
  },
  message: 'bad indentation of a mapping entry at line 14, column 2:\n' +
    '     community:\n' +
    '     ^'
}
fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:955:30)
    at Module._compile (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/pirates/lib/index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:991:10)
    at Object.newLoader [as .js] (/mnt/c/Users/zhmushan/Desktop/wuhan2020.github.io/node_modules/pirates/lib/index.js:104:7)         at Module.load (internal/modules/cjs/loader.js:811:32)
    at Function.Module._load (internal/modules/cjs/loader.js:723:14)

created time in 16 days

delete branch zhmushan/wuhan2020.github.io

delete branch : zh

delete time in 16 days

create barnchzhmushan/wuhan2020.github.io

branch : zh

created branch time in 16 days

fork zhmushan/wuhan2020

新型冠状病毒防疫信息收集平台

https://wh.opensource-service.cn/

fork in 16 days

startedaxetroy/vscode-deno

started time in 16 days

push eventzhmushan/abc

zhmushan

commit sha 4d39c8c963e913f4349b09cdd6c38d2561d90810

Update benchmarks

view details

push time in 18 days

push eventzhmushan/abc

zhmushan

commit sha d5eabd819c47782b997b630aaa18abaa3eba9b16

,.

view details

push time in 18 days

create barnchzhmushan/abc

branch : benchmarks

created branch time in 18 days

push eventzhmushan/abc

zhmushan

commit sha c14e8cfc273a78a4d06811d7f02a5025f25bc390

.

view details

push time in 18 days

create barnchzhmushan/abc

branch : test_ci

created branch time in 18 days

issue commentzhmushan/abc

Benchmark against alosaur and dinatra

I will do this once abc is able to benchmark with github actions

nainardev

comment created time in 18 days

startedabusetelegram/xixi-haha

started time in 20 days

push eventzhmushan/tampermokey_scripts

zhmushan

commit sha c478c56660ab282a8c78c95b6ea6a7911482823f

add

view details

push time in 21 days

create barnchzhmushan/tampermokey_scripts

branch : master

created branch time in 21 days

created repositoryzhmushan/tampermokey_scripts

created time in 21 days

issue openedzhmushan-zone/idea

用 Flutter 做 iOS 阅读 App

想要做这个, 但是手头上暂时没有苹果电脑

created time in 21 days

create barnchzhmushan-zone/idea

branch : master

created branch time in 21 days

created repositoryzhmushan-zone/idea

created time in 21 days

delete branch zhmushan/FZU-OOP-homework

delete branch : zh

delete time in 22 days

push eventzhmushan/FZU-OOP-homework

zhmushan

commit sha c2076dced8d7cde414a606e7abc7fba71f6d2e12

print details

view details

push time in 22 days

PR opened ganguan/FZU-OOP-homework

抽象测试函数
+54 -38

0 comment

1 changed file

pr created time in 22 days

create barnchzhmushan/FZU-OOP-homework

branch : zh

created branch time in 22 days

fork zhmushan/FZU-OOP-homework

面向对象程序设计寒假作业

fork in 22 days

push eventquadev/server

zhmushan

commit sha d75e5a0da5ba85832230ed0a1d392526b4fd7703

update package.json

view details

push time in 23 days

push eventquadev/examples

zhmushan

commit sha 3a2c19241c14671e8b2c8a5edd5d25fdf268fd7a

hello

view details

push time in 23 days

create barnchquadev/examples

branch : master

created branch time in 23 days

created repositoryquadev/examples

created time in 23 days

push eventquadev/server

zhmushan

commit sha ed9439079c4585024df0a7bdd14b42779a9fb972

remove examples

view details

push time in 23 days

startedmicrosoft/fluent-ui-react

started time in 23 days

push eventquadev/server

zhmushan

commit sha e02134f87f65e86e2c4037041238cefce0758ce5

enhancement type

view details

push time in 23 days

PR opened jihuayu/FZU-OOP-2020

简化deploy ci

绿色样例: https://github.com/zhmushan/FZU-OOP-2020/actions/runs/32828641

+6 -22

0 comment

2 changed files

pr created time in 23 days

push eventzhmushan/FZU-OOP-2020

zhmushan

commit sha 00fd7d5db5e8a8ec0141775a4c9f7d9c5181552e

triggle ci

view details

push time in 23 days

push eventzhmushan/FZU-OOP-2020

zhmushan

commit sha 35c9b8b4a393b14ba7bec32346a254518c75f47f

cleanup

view details

push time in 23 days

fork zhmushan/FZU-OOP-2020

福州大学2020年面向对象程序设计

http://oop.jihuayu.site/

fork in 23 days

push eventjihuayu/FZU-OOP-2020

2002ljy

commit sha 59247ba2d1382ad8f44393b02f5aceb7e0bd2bea

Markdown基本语法 (#27) * Create Markdown基本语法 (2).md * Rename Markdown基本语法 (2).txt to Markdown基本语法.md * Update Markdown基本语法.md * 修改了文件格式 * Update Markdown基本语法(1).md * Update Markdown基本语法(1).md * Update Markdown基本语法(1).md * cleanup * update Co-authored-by: 木杉 <zhmushan@qq.com>

view details

push time in 23 days

PR merged jihuayu/FZU-OOP-2020

Markdown基本语法(改良版)

markdown基本语法

一、标题

<br># 一级标题</br>

<br>## 二级标题</br>

<br>### 三级标题</br>

<br>#### 四级标题</br>

<br>##### 五级标题</br>

<br>###### 最小只有六级标题

二、换行

代码:

<br>内容</br>

效果:

如上

三、加粗

代码:

**我被加粗了**

效果:

我被加粗了

四、斜体

代码:

*我倾斜了*

效果:

我倾斜了

五、高亮

代码:

==我高亮了==

效果:

==我高亮了==

(我没看出什么变化???)

六、上标

代码:

2<sup>2</sup>

效果:

2<sup>2</sup>

七、下标

代码:

a=log<sub>2</sub>b

效果:

a=log<sub>2</sub>b

八、代码引用(>式)

代码:

> hello markdown!

效果:

hello markdown!

多层嵌套式

代码:

> hello markdown!

>> hello markdown!

效果:

hello markdown!

hello markdown!

九、代码引用(```式)

第一行反引号后面,输入代码块所使用的语言

代码:

```python

print('hello nick')

```

效果:


print('hello nick')

十、代码引入(`式)

代码:

`print('hello nick')`

效果:

print('hello nick')

十一、插入链接(链接显示)

代码:

<https://www.cnblogs.com/nickchen121/p/10718112.html>

效果:

https://www.cnblogs.com/nickchen121/p/10718112.html

十二、插入链接(链接描述显示)

代码:

[nickchen博客](https://www.cnblogs.com/nickchen121/p/10718112.html "nickchen博客")

效果:

nickchen博客

十三、插入图片

1.插入本地图片

只需要在基础语法的括号中填入图片的位置路径即可,支持绝对路径和相对路径。

例如:![avatar](/home/picture/1.png)

不灵活不好分享,本地图片的路径更改或丢失都会造成markdown文件调不出图

2.插入网络图片

只需要在基础语法的括号中填入图片的网络链接即可,现在已经有很多免费/收费图床和方便传图的小工具可选。

例如:

![avatar](http://baidu.com/pic/doge.png)

将图片存在网络服务器上,非常依赖网络。

3.把图片存入markdown文件

  • 高级用法

比如:

  • ![avatar][base64str]

  • [base64str]:data:image/png;base64,iVBORw0...

十四、有序列表

代码:

1. one

2. two

3. three

效果:

  1. one

  2. two

  3. three

十五、无序列表

代码:

* one

* two

* three

效果:

  • one

  • two

  • three

注意*号后要有空格,除了用*号还可以用+号,-号,用法与*号相同。

十六、分割线

代码(以下四种都可以):

  • ***

  • ---

  • ___

  • - - -

效果:


十七、表格

第二行必须得有,并且第二行的冒号代表对齐格式,分别为居中;右对齐;左对齐

代码:

name | age | sex

:-:|:-|-:

tony|20|男

lucy|18|女

效果:

name | age | sex

:-:|:-|-:

tony|20|男

lucy|18|女

+180 -282

1 comment

4 changed files

2002ljy

pr closed time in 23 days

push event2002ljy/FZU-OOP-2020

zhmushan

commit sha 389bb12f93760b07f8c098c9051e73df7aa9a663

update

view details

push time in 23 days

push event2002ljy/FZU-OOP-2020

zhmushan

commit sha 26e0b52a76d5360681746c0bac77888a226b7d4b

add missing config

view details

JustinRochester

commit sha 7de72b0e627d844db305c352c130c060d293059c

Create Markdown_Latex部分教程.md 关于 Markdown 中 Latex 语句的基本教程

view details

zhmushan

commit sha fd375e3de1fbf49fea8a3c0b2d879c04f17466a5

update config

view details

2002ljy

commit sha 4d721278251a9ae0424b67fdf41ec0881ad90851

Create Markdown基本语法.txt

view details

2002ljy

commit sha 44d0fc5b1fb11f51cfffb49f6e1854ba9b428f3b

Update Markdown基本语法.txt

view details

2002ljy

commit sha 9b95a1e02a6d2a926ea01c3b8b2f8775a0ccae64

Create Markdown基本语法 (2).txt

view details

zhmushan

commit sha c21802af617b51ac75f0100b4da9f1c7b881a778

support tax syntax rendering

view details

zhmushan

commit sha 812c31d6a8b5fac8f80969cf7462ff7a6cb66cb4

change to markdown-it-katex

view details

zhmushan

commit sha cd8b09739445cddcdbf20cb69c7451c870c974be

fix some syntax

view details

2002ljy

commit sha 196282f294c22253a7ca70d337df182560e0e579

Create Markdown基本语法 (2).md

view details

2002ljy

commit sha aa227f9b4b45b2de0cc7e8eac6cc2c7c23d506c7

Rename Markdown基本语法 (2).txt to Markdown基本语法.md

view details

2002ljy

commit sha 8c4573a37c5c798abe62a65e9ec8fc902f86258a

Update Markdown基本语法.md

view details

2002ljy

commit sha e32d0aaa570d17a43b3a66c5cbc6a25fd4b39926

修改了文件格式

view details

2002ljy

commit sha d4b5065a33af953298ef3ec33db83790d686d3b5

Update Markdown基本语法(1).md

view details

2002ljy

commit sha 8423b7ae54f7ff98b42c820d7881d6ada1ffbeef

Update Markdown基本语法(1).md

view details

2002ljy

commit sha 214bb6e49644c8cdca40637d2b8e213308c726d3

Update Markdown基本语法(1).md

view details

zhmushan

commit sha c5c108ed2e0079414266bd128bcfafc38ab8ec62

cleanup

view details

push time in 23 days

push event2002ljy/FZU-OOP-2020

zhmushan

commit sha d1217905802852ae6c465755b3b74e8fd64fba30

cleanup

view details

zhmushan

commit sha e9e1fb172a3dcdf6a1fce7bf1871cf0f67b6399c

Merge branch '2002ljy-master'

view details

push time in 23 days

Pull request review commentjihuayu/FZU-OOP-2020

Markdown基本语法(改良版)

+#[markdown基本语法](https://www.cnblogs.com/nickchen121/p/10821946.html)

注意这里少了一个空格

2002ljy

comment created time in 23 days

create barnchquadev/server

branch : master

created branch time in 24 days

created repositoryquadev/server

created time in 24 days

PR closed zhmushan/FZU-OOP-2020

test ci
+1 -20

0 comment

1 changed file

zhmushan

pr closed time in 25 days

PR closed jihuayu/FZU-OOP-2020

[WIP]: add pr deploy

预览: https://github.com/zhmushan/FZU-OOP-2020/pull/2 https://zhmushan.github.io/FZU-OOP-2020/

+25 -0

0 comment

1 changed file

zhmushan

pr closed time in 25 days

push eventzhmushan/FZU-OOP-2020

zhmushan

commit sha 76f0930fc5576655bd78bce26ec60cbc9c42f0f0

fix

view details

push time in 25 days

PR opened jihuayu/FZU-OOP-2020

add pr deploy

预览: https://github.com/zhmushan/FZU-OOP-2020 https://zhmushan.github.io/FZU-OOP-2020/

+25 -0

0 comment

1 changed file

pr created time in 25 days

PullRequestEvent

push eventzhmushan/FZU-OOP-2020

zhmushan

commit sha c2222b253323e76ae3caf7eab435acf71cc92125

.

view details

push time in 25 days

PR closed zhmushan/FZU-OOP-2020

test ci
+0 -0

0 comment

0 changed file

zhmushan

pr closed time in 25 days

push eventzhmushan/FZU-OOP-2020

push time in 25 days

more