上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: Vercel Node 版本的说明 官方参考:意思是设置了 engines.node 后,如果与项目的 node 版本不一致,则使用前者 Defining the node property inside engines of a package.json file will override th 阅读全文
posted @ 2023-02-04 00:51 egu0o 阅读(828) 评论(1) 推荐(1) 编辑
摘要: 在昨天的基础上封装一哈,昨天的:https://www.cnblogs.com/engure/p/17087169.html /** * 格式化数字为千分位表示 * * @param value 数值,可为 String/六种数值类型/BigDecimal * @param fieldLength 阅读全文
posted @ 2023-02-03 15:16 egu0o 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: 获取BigDecimal数字的千分位表示,同时保留精度 需求:BigDecimal > String 两种方法: 自己编写逻辑方法 使用 java 提供的 API 来转化 /** * 转化一:自己拼接 */ private static void formatMoney2(BigDecimal mo 阅读全文
posted @ 2023-02-02 19:06 egu0o 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 使用 SpringBoot 发送邮件 思路:使用 thymeleaf 解析并渲染 html 模版,将 html 内容作为邮件内容发送 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st 阅读全文
posted @ 2023-01-31 21:28 egu0o 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 基本语法 模板语法 1. {{ msg }} 2. v-html="attName" 3. v-bind:xxx="attName" or :xxx="attName" ==> <tag xxx="val" /> 4. 在模板中使用 js 表达式,比如 {{ ok ? "YES":"NO" }}, 阅读全文
posted @ 2023-01-16 00:05 egu0o 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 今天遇到一前端问题。axios 导出后台 xls 文件出现乱码。 多会儿没写发现前端了,发现是【没指定响应类型时,axios 默认把响应内容包成字符串,即 type(res.data) = 'string'】,直接保存字符串存储的二进制就出问题了。 解决:指定响应类型为 blob,那么 axios 阅读全文
posted @ 2023-01-12 18:11 egu0o 阅读(883) 评论(0) 推荐(0) 编辑
摘要: date: 2023-01-11T12:09:16Z nexus3 安装 nx3 & 创建仓库 官方文档:https://help.sonatype.com/docs docker run -d -p 8880:8081 --name nexus \ -e INSTALL4J_ADD_VM_PARA 阅读全文
posted @ 2023-01-11 15:05 egu0o 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 20.04 下 APT 安装 mysql-8.0 并配置 root 远程访问 配置 1.安装软件 root@ubuntu:~# apt install mysql-server-8.0 mysql-client-8.0 2.配置可远程访问 mysql 修改 /etc/mysql/mys 阅读全文
posted @ 2022-07-04 11:46 egu0o 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 基础语法 逻辑判断。if-else、case 操作循环。for、while、utile 数组的简单使用。declare -a 输入处理。read 日期获取 逻辑判断选项 按照文件类型判断 按照文件权限 按照文件信息 整数比较 字符串比较 判断条件之间比较 >> Linux Bash Shell编程( 阅读全文
posted @ 2021-11-24 10:40 egu0o 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 实例: #!/usr/bin/python # -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText from email.header import Header # 第三方 SMTP 服务 mail_h 阅读全文
posted @ 2021-11-09 11:44 egu0o 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页