Mybatis Plus 代码生成器(新)使用
环境说明
Mybatis Plus 3.5.2
Spring Boot 2.3.12.RELEASE
步骤说明使用<!-- mybatis-plus begin --><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.2</version></dependency><!-- mybatis-plus end --><!-- mybatis-plus-generator begin --><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-generator</artifactId> <version&g ...
IntelliJ IDEA之解决快捷键冲突
环境说明
Windows 10
Idea 2021.3.1
步骤说明前言最近 Idea 突然 Redo 重做快捷键失效 Ctrl + Shift + Z
跟着一起失效的有 Open in -> Directory Path 快捷键 Ctrl + Alt + F12
之前有碰见过是因为 搜狗的输入法 快捷键冲突导致,这次我把所有软件关闭还是不行。
强迫症使然,解决它
注意重要的事情说三遍
关于流氓软件windows hotkey explore, 千万别使用,用后死机。关于流氓软件windows hotkey explore, 千万别使用,用后死机。关于流氓软件windows hotkey explore, 千万别使用,用后死机。
OpenArk下载
OpenArk下载地址
步骤进入内核模式
查找相应的快捷键冲突,右键删除即可
Frp 使用NSSM配置为Windows服务
环境说明
windows 10
NSSM 2.24
Frp
步骤说明下载NSSM下载地址
解压
配置环境变量(可选)
根据平台架构,在 nssm.exe 所在目录下 shift+ 右键
打开 powershell
输入 nssm install frpc (这里frpc为我定义的服务名,这里看官随意)
配置
注:
Path 程序路径
Startup directory 选择 Path 会自动配置
Arguments 为启动参数,frps 配置为 -c frps.ini,frpc 配置为 -c frpc.ini
如图按需配置后
点击 Install service 即可
命令使用 nssm -h可以看到相应命令说明
常用命令显示安装服务GUI:nssm install [<servicename>]启动服务:nssm start [<servicename>]停止服务:nssm stop [<servicename>]重启服务: nssm restart [<servicename>]编辑服务: nssm edit [<ser ...
IntelliJ IDEA 自动生成serialVersionUID
环境说明
IntelliJ IDEA 2021.3.1
步骤说明参考文献
无题
环境说明步骤说明pom.xml<!-- mybatis plus --><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.3.2</version></dependency><!-- mybatis plus generator --><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-generator</artifactId> <version>3.3.2</version></dependency><dependency> <groupId>org.apa ...
无题
环境说明
Win10
CentOS Linux release 8.5.2111
ActiveMQ 5.15.9
步骤说明Windows 安装ActiveMQCentos 安装ActiveMQ问题解决Illegal character in hostname at index 10执行
activemq start
报错如下
2022-05-13 14:19:36,777 | ERROR | Failed to start Apache ActiveMQ (localhost, ID:power_prod-26605-1652422776568-0:1) | org.apache.activemq.broker.BrokerService | mainjava.net.URISyntaxException: Illegal character in hostname at index 10: ws://power_prod:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600
参考文献
Kraots consul 注册中心的使用
环境说明
windows
go version go1.17.6 windows/amd64
goland
步骤说明
参考文献
Consul Ubuntu 部署
环境说明
Ubuntu 20.04.3 LTS
Consul 1.11.4
步骤说明安装下载
Download Consul
wget https://releases.hashicorp.com/consul/1.11.4/consul_1.11.4_linux_amd64.zip
解压
unzip consul_1.11.4_linux_amd64.zip
复制到/usr/local/bin下
sudo mv consul /usr/local/bin/consul
验证
consul -v
# root @ axinblog in ~/software [16:57:08]$ consul -vConsul v1.11.4Revision 944e8ce6Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)
配置Sever 模式,快捷配置,一般用于调试模式,不建议使用
...
无题
环境说明
truffle v5.5.2 15/03/2022 20:30.59 /home/mobaxterm truffle versionTruffle v5.5.2 (core: 5.5.2)Ganache v7.0.1Solidity v0.5.16 (solc-js)Node v14.18.3Web3.js v1.5.3
win10
步骤说明MetaMask 添加币安测试链&主键参考
JSON-RPC Endpoint
测试网网络名称( Network Name):Smart Chain - Testnet新的RPC URL( New RPC URL):https://data-seed-prebsc-1-s1.binance.org:8545/智能链ID(ChainID):97符号(Symbol):BNB区块浏览器URL(Block Explorer URL):https://testnet.bscscan.com主网网络名称( Network Name):Smart Chain新的RPC URL( New RPC URL):https: ...
LNMP 环境下安装gmp扩展
前言起因是因我要安装
web3p/ethereum-tx
执行
composer require web3p/ethereum-tx
报错内容如下
# root @ www.axinblog.com in /home/wwwroot/axinblog on git:develop x [19:08:55]$ composer require web3p/ethereum-txDo not run Composer as root/super user! See https://getcomposer.org/root for detailsContinue as root/super user [yes]? yesUsing version ^0.4.3 for web3p/ethereum-tx./composer.json has been updatedRunning composer update web3p/ethereum-txLoading composer repositories with package informationUpdating dependencie ...