上一页 1 ··· 191 192 193 194 195 196 197 198 199 ··· 499 下一页
摘要: When needing to format a number I've tended to lean towards Number.prototype.toFixed(), reach for a 3rd party library, or write custom functions. Howe 阅读全文
posted @ 2020-08-10 15:57 Zhentiw 阅读(289) 评论(0) 推荐(0)
摘要: Actor, which can invoke a promise to fetch data. import { createMachine, assign, interpret } from "xstate"; const elBox = document.querySelector("#box 阅读全文
posted @ 2020-08-10 15:46 Zhentiw 阅读(208) 评论(0) 推荐(0)
摘要: const displayMachine = createMachine( { initial: "hidden", states: { hidden: { on: { TURN_ON: "visible.hist", }, }, visible: { // Add parallel states 阅读全文
posted @ 2020-08-07 01:45 Zhentiw 阅读(235) 评论(0) 推荐(0)
摘要: Evaluation Metrics are how you can tell if your machine learning algorithm is getting better and how well you are doing overall. Accuracy x x x Accura 阅读全文
posted @ 2020-08-06 21:04 Zhentiw 阅读(231) 评论(0) 推荐(0)
摘要: Learn about the required and expanded syntax of CSS box-shadow. Then, create various kinds of effects such as shadows inside the element, a shadow tha 阅读全文
posted @ 2020-08-06 15:47 Zhentiw 阅读(144) 评论(0) 推荐(0)
摘要: The ability to natively format dates and times using the browser is impressive. You may find yourself not needed to grab libraries such as moment.js o 阅读全文
posted @ 2020-08-06 04:22 Zhentiw 阅读(118) 评论(0) 推荐(0)
摘要: Install: npm i -g aws-cdk Init a project: cdk init sample-app --language=typescript To verify it works: npm run build Should have no error. Developeme 阅读全文
posted @ 2020-08-04 23:04 Zhentiw 阅读(660) 评论(0) 推荐(0)
摘要: const displayMachine = createMachine({ initial: "hidden", states: { hidden: { on: { TURN_ON: "visible.hist", }, }, visible: { initial: "light", states 阅读全文
posted @ 2020-07-31 16:22 Zhentiw 阅读(172) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2020-07-31 16:14 Zhentiw 阅读(198) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2020-07-30 15:12 Zhentiw 阅读(215) 评论(0) 推荐(0)
上一页 1 ··· 191 192 193 194 195 196 197 198 199 ··· 499 下一页