自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 JPA Tuple类型转换

JPA Tuple 类型转换

2022-06-25 23:50:01 1113

原创 Error: Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core failed. RPC failed curl 56 LibreSS

Error: Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core failed;error: RPC failed; curl 56 LibreSSL SSL_read: Connection reset by peer, errno 54;curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443

2021-12-27 15:59:59 1887

原创 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘faw.visa_q

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fawkes.visa_quantity.code' which is not functionally dependenton columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

2021-11-24 14:36:52 782

原创 获取字符串中的数字集合

Pattern pattern = Pattern.compile("[0-9]+");//需要匹配的数字的正则表达式 Matcher matcher = pattern.matcher(n);List list = new ArrayList(); while (matcher.find()) { list.add(matcher.group()); }

2021-11-23 09:40:43 560

原创 Job for docker.service failed because the control process exited with error code.See “systemctl sta

使用命令: systemctl status docker.service查看启动信息解决方法:修改/etc/docker/daemon.json文件和/etc/sysconfig/docker-storage文件,修改/etc/docker/daemon.json为{ “storage-driver”: “devicemapper” },如果没有则新建修改/etc/sysconfig/docker-storage为DOCKER_STORAGE_OPTIONS="–selin......

2021-11-11 15:33:54 1184

原创 数值小写转化为大写

public String numToCn(String money) { int dotPoint = money.indexOf("."); //判断是否为小数 String moneyStr; if(dotPoint != -1){ moneyStr = money.substring(0,money.indexOf(".")); } else{ moneyStr = money; ...

2021-11-11 09:56:58 113 2

原创 Failed to download metadata for repo ‘base‘: Cannot download repomd.xml: Cannot download repodata/re

这里提示错误不是替换源链接地址而是本地挂载源的问题,解决很简单,移动或者移除CentOS-...问题文件,再执行yum命令进行操作即可。

2021-11-10 14:06:37 9432 2

原创 json解析转实体

1.JSONArray对JSON字符串解析JSONArray jsons = JSONArray.fromObject(str);for(Object o : jsons){ JSONObject jsonob = JSONObject.fromObject(o); T t = (T) JSONObject.toBean(jsonob, T.class);}2.双重解析 2.1使用JSONJSONArray list= null;try{ list......

2021-09-13 10:37:46 506

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除