LJlivs Johninlishiwen.hashnode.dev·11h ago · 5 min readHow to Scope a 5–7 Day Rescue Sprint for a Blocked AI or React ProductA product rescue sprint is not a promise to “finish the whole product in a week.” It is a short, tightly scoped engineering engagement designed to remove one blocker that is preventing a team from tes00
LJlivs Johninlishiwen.hashnode.dev·Feb 28, 2021 · 2 min readGIT 自定义我们在安装完成✅git之后是可以通过修改、增加配置文件来定制化git环境的,最典型的定制就如我们在初次使用时候的 user.name 和 user.email git config --global user.name "xxx" git config --global user.email "xxx@xxx.xxx" 可以看到我们使用 git config 命令来配置git,但其实这个命令也是在修改git后面的配置文件; 它首先会查找系统级的 /etc/gitconfig 文件,该文件含有系...00
LJlivs Johninlishiwen.hashnode.dev·Feb 22, 2021 · 1 min read随机生成区间N个不重复的数<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <...00
LJlivs Johninlishiwen.hashnode.dev·Feb 22, 2021 · 2 min readJavaScript 错误类型归类SyntaxError(语法错误) 在解析代码时候发生的语法错误, 比如 function fn(){ let a = } fn(); 错误信息 Uncaught SyntaxError: Unexpected token '}' TypeError(类型错误) 变量或者参数不是预期的类型时发生的错误, 比如在字符串上调用数组的方法. let a = 1234; a.contact(5); // undefined上调用也会 console.log(window.aaa.s) ...00
LJlivs Johninlishiwen.hashnode.dev·Feb 22, 2021 · 2 min read理解KOA洋葱模型推荐阅读,什么是中间件? 知乎中间件是什么?如何解释比较通俗易懂? Red Hat 中间件技术简介 在JavaScript中实现可以扩展的中间件 项目中中间件的设计需要考虑到后期的扩展,马上展示的就是koa中使用洋葱模型的实现方式; 我将一些重要的部分抽离出来最后形成离这样的核心代码。 export function compose(middlewares){ return function last(next) { function dispatch(i){ ...00