摘要: 主要使用了 ed25519 库 加解密和验证代码 // Common.js and ECMAScript Modules (ESM) import * as ed from '@noble/ed25519'; // If you're using single file, use global va 阅读全文
posted @ 2022-11-26 21:42 灯塔下的守望者 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 代码如下: // 敏感词过滤 var promiseAll = checkSenstiveWords(); promiseAll.then(function (results) { // console.log("results=>", results) // console.log("v1=>", 阅读全文
posted @ 2022-11-26 21:35 灯塔下的守望者 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 初始化插件项目 在任意目录新建一个插件目录,我这里在 /pkg/vuepress-plugin-simple-encrypt mkdir /pkg/vuepress-plugin-simple-encrypt 进入该目录,初始化项目 yarn init 输入插件名 vuepress-plugin-s 阅读全文
posted @ 2022-11-26 21:24 灯塔下的守望者 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Git系列涉及的内容续 Git对象类型与索引 Git分支 如何创建、切换与删除分支 Git分支在项目开发中的作用 Git分支在工程化项目中的最佳实践 分支常见重要命令详解 阅读全文
posted @ 2022-11-26 18:12 灯塔下的守望者 阅读(20) 评论(0) 推荐(0) 编辑
摘要: Linux 环境配置 zsh 快捷操作 输入命令之后,按下 tab​ 按键,可以在命令之间选择 zshenv 与 zshrc 的区别:zshenv​ 始终是 source 的,也就是说一直生效,但是 zshrc​ 只是活跃的 shell 生效,另外,zshrc 会覆盖 zshenv 的设置。 lin 阅读全文
posted @ 2022-11-26 17:58 灯塔下的守望者 阅读(19) 评论(0) 推荐(0) 编辑