摘要:
When dragging, we want to have two modes, one in 'normal' mode, another one is 'locked', we enter the locked mode by holde on 'shift' key. To achieve 阅读全文
摘要:
When working with databases, it seems inevitable that you will find yourself needing to export data from a table to send along to another team, compan 阅读全文
摘要:
It uses " " as key, by default, this is the inital state, it often uses with 'cond' import { createMachine, assign, interpret } from "xstate"; const e 阅读全文
摘要:
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% 阅读全文
摘要:
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 阅读全文
摘要:
routes/index.js: used for defined all the endpoints: import express from "express"; import * as notes from "./notes.js"; const router = express.Router 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文