摘要: In this lesson we'll build a basic web server in 2 minutes using Express 5 and node 14's native ES module support. We'll start by creating a new proje 阅读全文
posted @ 2020-07-27 21:08 Zhentiw 阅读(130) 评论(0) 推荐(0)
摘要: Renaming every file in a directory with zsh is a common scenario when you're working with a series of related files. Using zsh's "for" loop, you can a 阅读全文
posted @ 2020-07-27 20:03 Zhentiw 阅读(115) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-07-27 18:10 Zhentiw 阅读(219) 评论(0) 推荐(0)
摘要: JavaScript numbers and CSS hexadecimal numbers don't play very well together. You can solve this with a conversion function that takes the number, con 阅读全文
posted @ 2020-07-27 16:09 Zhentiw 阅读(91) 评论(0) 推荐(0)
摘要: When express App run syncronous code: app.get("/test", (req, res) => { throw new Error("Oh no! The world has ended!"); }); Those code works fine. But 阅读全文
posted @ 2020-07-27 16:05 Zhentiw 阅读(177) 评论(0) 推荐(0)