05 2024 档案
【dubbo】如何测试一个dubbo服务呢?
摘要:rpc服务框架——dubbo https://cn.dubbo.apache.org/zh-cn/blog/2023/02/23/一文帮你快速了解-dubbo-核心能力/ 自制项目: https://github.com/Jinwenxin/rpc.git 1. 单元测试 import org.ju
阅读全文
【SQL进阶】CASE语句的使用
摘要:语法格式 case [列名] when [可能值1] then [目标值1] when [可能值2] then [目标值2] ... else [缺省值] end 注意的点 else最好写上 end必须写 when后面的和then后面的值类型必须相同 练习 有一张日本的都道府郡表,包含编号,都道府郡
阅读全文
【Mac】前后端分离项目(springboot + vue)用nginx部署
摘要:步骤 npm run build 把项目打包到dist目录下。新建vue.config.js const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependenc
阅读全文
【dubbo】telnet 连接dubbo不支持ls命令解决方法
摘要:现象 dubbo服务的默认端口是20880,按照网上教程想查看dubbo服务,报错 telnet 127.0.0.1 20880 dubbo>lsDubbo Telnet Unsupported command: ls 原因 Please use the specific QOS port for
阅读全文
MacOS添加,查看,删除用户
摘要:1. 添加用户 在macOS中,可以通过命令行使用dscl(Directory Service command line utility)工具来添加用户。以下是使用dscl添加用户的步骤: 打开终端:可以通过在Spotlight搜索中输入"Terminal"或在/Applications/Utili
阅读全文
【Linux命令学习】lsof查看打开的文件
摘要:lsof: list open files 作用1:可查端口号被哪个进程占用 比如我们跑自动化,经常会遇到端口号被占用,无法启动driver lsof -i :8081 lsof 输出的结果含义: fd:文件描述符的数字,通常是一个正整数。file descriptor type:文件描述符的类型,
阅读全文