Easter79 Easter79
3年前
spring整合dubbo[单机版]
Spring整合Dubbo,这个是用xml配置的(方式一)来梳理下步骤:1\.安装zookeeper,在进行简单配置\这里使用单机模式,不用集群\2\.创建maven项目,构建项目结构3\.编写提供者项目4\.安装dubboadmin查看服务信息5\.编写消费者的
Wesley13 Wesley13
3年前
java邮箱校验,手机号校验,格式化日期等等
importjava.text.SimpleDateFormat;importjava.util.Calendar;importjava.util.regex.Matcher;importjava.util.regex.Pattern;import这个是传入数据的封装jar包,可以不用看,具
Stella981 Stella981
3年前
Gorm 对mysql的datetime类型特殊的格式化问题
定义模型typeProgramModelstruct{gorm.ModelNamestringjson:"name"gorm:"column:name"StartTimestringjson:"start_time"gorm:"column:star
Stella981 Stella981
3年前
Json乱码解决统一代码
我们在springmvc中使用json经常出现乱码格式 如下图:!(https://img2018.cnblogs.com/ibeta/1851833/201911/185183320191127195659745157443638.png)我们可以在@RequestMapping()中配置,produces"application
Stella981 Stella981
3年前
Cppcheck简单测评
测评代码如下:include <cstdioinclude <stringint main(void){ // 多了或者少了格式化参数 ::printf("%d%d%d\n", int(1), int(2)); ::printf("%d%d%d\n", int(1), int(2
Stella981 Stella981
3年前
EOS cleos get code 查询智能合约
查询智能合约命令格式:$cleosgetcodea${contract}.abi${contract}根据合约中定义的表结构,你可以查询合约中的数据。例如,currency合约ABI包含账户表。$cleosgetcodeacurrency.abicurrencycodehash:
Stella981 Stella981
3年前
C# DateTime的 ParseExact和 TryParseExact 使用说明
最近需要把“20121010”转换为“20121010”格式,直接用Convert.ToDateTime("20121010"),系统报错“未被识别的DateTime类型”。解决方法:一、DateTime.ParseExactstring str "20121010";  IFormatProviderifp new Cu
Easter79 Easter79
3年前
SringBoot启动报日志配置错误
最近在启动项目的时候,报错,报错的原因是springBoot日志配置文件不对。由于自己是刚接触springboot,是同事帮忙解决的,自己非常感谢!先总结如下:1.首先,找到logbackspring.xml配置文件1<springPropertyscope"context"name"springAppNa
Wesley13 Wesley13
3年前
JSP基本语法
注释格式:<%......%<%//......%<%/_......_/%1.JSP编程Declaration基本语法:<%!%说明:在此声明的变量、方法都会被保留成唯一的一份,直到JSP程序停止执行例子:<%!inti;publicvoidsetName
公孙晃 公孙晃
2年前
Topaz Photo AI 最新版,图像智能ai降噪工具
TopazPhotoAI支持多种文件格式,包括JPEG、TIFF、PNG、RAW等,并且能够自动检测并修复许多常见的问题,例如模糊、噪点、色彩失真等...