上一页 1 ··· 193 194 195 196 197 198 199 200 201 ··· 477 下一页
摘要: It uses " " as key, by default, this is the inital state, it often uses with 'cond' import { createMachine, assign, interpret } from "xstate"; const e 阅读全文
posted @ 2020-07-29 19:51 Zhentiw 阅读(215) 评论(0) 推荐(0)
摘要: In this lesson, we'll learn how to use CSS Clip Path to add a notch clip-path: polygon( 0% 10%, 10% 0%, /*topleft*/ 92% 0, 100% 8%, /*top right*/ 100% 阅读全文
posted @ 2020-07-29 15:21 Zhentiw 阅读(125) 评论(0) 推荐(0)
摘要: In this lesson, we cover how to replace the default text-decoration for links with an animated underline. We use multiple background images with a fix 阅读全文
posted @ 2020-07-29 14:53 Zhentiw 阅读(285) 评论(0) 推荐(0)
摘要: routes/index.js: used for defined all the endpoints: import express from "express"; import * as notes from "./notes.js"; const router = express.Router 阅读全文
posted @ 2020-07-28 16:02 Zhentiw 阅读(227) 评论(0) 推荐(0)
摘要: 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 阅读(150) 评论(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 阅读(129) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-07-27 18:10 Zhentiw 阅读(238) 评论(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 阅读(108) 评论(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 阅读(203) 评论(0) 推荐(0)
摘要: If we have just one feature, the error is big, preformance is not good; but if we have too many features selected then it might be overfitting. So we 阅读全文
posted @ 2020-07-23 22:05 Zhentiw 阅读(172) 评论(0) 推荐(0)
上一页 1 ··· 193 194 195 196 197 198 199 200 201 ··· 477 下一页