上一页 1 2 3 4 5 6 7 8 ··· 22 下一页
摘要: 方案一:自定义镜像地址 pnpm config set registry https://registry.npmmirror.com/ pnpm config set electron_mirror=https://cdn.npmmirror.com/binaries/electron/ pnpm 阅读全文
posted @ 2022-10-23 19:31 灯塔下的守望者 阅读(495) 评论(0) 推荐(0) 编辑
摘要: IDEA 安装插件 直接 IDEA 搜索 plantuml 即可 Mac 安装 brew install graphviz PS:收藏一个写的很好的homebrew脚本 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw 阅读全文
posted @ 2022-10-23 19:24 灯塔下的守望者 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 代码 Mail.mjs import nodemailer from "nodemailer"; export default async function sendMail(to, title, msg) { // 创建transporter const transporter = nodemai 阅读全文
posted @ 2022-10-23 19:21 灯塔下的守望者 阅读(26) 评论(0) 推荐(0) 编辑
摘要: To delete all the local tags simple run the following command git tag | xargs git tag -d To delete remote tags after deleting the local tags by runnin 阅读全文
posted @ 2022-10-23 19:07 灯塔下的守望者 阅读(17) 评论(0) 推荐(0) 编辑
摘要: docker compsoe的完整配置 docker-compose.yml # 构建docker-compose项目 # docker compose --log-level INFO up -- build # docker compose --log-level INFO up -d --bu 阅读全文
posted @ 2022-10-23 19:04 灯塔下的守望者 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: 准备工作 首先要确保开启了Hyper-V,注意:VirtulBox与这个冲突。 方法:控制面板->程序与功能->打开或者关闭Windows功能 打开虚拟化,BootCamp可以尝试下面的命令 bcdedit /set hypervisorlaunchtype auto start 导入Deepin 阅读全文
posted @ 2022-10-23 19:00 灯塔下的守望者 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 配置 # https://help.aliyun.com/document_detail/365559.html # HTTPS协议默认端口号为443,需要使用其他端口时,您可以在此处自定义。 server.port=8002 # https://docs.oracle.com/en/java/ja 阅读全文
posted @ 2022-10-23 18:58 灯塔下的守望者 阅读(79) 评论(0) 推荐(0) 编辑
摘要: MacOS解决npm权限不足问题 sudo chown -R `whoami` ~/.npm sudo chown -R `whoami` /usr/local/lib/node_modules 错误提示如下: permission denied, access '/usr/local/lib/no 阅读全文
posted @ 2022-10-23 17:56 灯塔下的守望者 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 生成验证码 /** * 验证码工具类 * * @name: VerificationCode * @author: terwer * @date: 2022-07-17 22:21 **/ public class VerificationCode { private static final St 阅读全文
posted @ 2022-10-23 17:50 灯塔下的守望者 阅读(39) 评论(0) 推荐(0) 编辑
摘要: IDEA GOLAND 类似配置 GOPROXY=https://goproxy.cn 阅读全文
posted @ 2022-10-23 17:43 灯塔下的守望者 阅读(14) 评论(0) 推荐(0) 编辑
摘要: // @ts-ignore import dotenv from 'dotenv' import path from 'path'; /** * 初始化测试环境变量 */ export const initTestEnv = () => { const __dirname = path.dirnam 阅读全文
posted @ 2022-10-23 17:20 灯塔下的守望者 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 问题探索 问题引入 目前在 Vite+Vue3 的项目中使用 fetch API 调用 siyuan 的 API 时候,如果加上 API 鉴权,就会返回 CORS 错误,如下: ​ 根据 https://developer.mozilla.org/en-US/docs/Glossary/Prefli 阅读全文
posted @ 2022-10-23 17:11 灯塔下的守望者 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 安装 yarn add cross-fetch 使用 import fetch from 'cross-fetch'; polyfill的使用方式 import 'cross-fetch/polyfill'; 阅读全文
posted @ 2022-10-23 17:05 灯塔下的守望者 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 基本方法 使用由 toString()​ 方法提供的默认的转换显示类集的内容,toString()​ 方法是从 AbstractCollection()​ 继承下来的。对于例子来说足够,但是通常情况下会重写此方法。 public class ArrayListTest1 { public stati 阅读全文
posted @ 2022-10-22 02:06 灯塔下的守望者 阅读(5) 评论(0) 推荐(0) 编辑
摘要: IDE(Integrated Development Environment),集成开发环境。 NetBeans。https://netbeans.org JBuilder。 IntelliJ IDEA https://www.jetbrains.com/idea/ Eclipse 中科大 ecli 阅读全文
posted @ 2022-10-21 22:27 灯塔下的守望者 阅读(49) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 22 下一页