摘要: 在Java中,不管是String.split(),还是正则表达式,有一些特殊字符需要转义, 这些字符是: ( [ { / ^ - $ ¦ } ] ) ? * + . 转义方法为字符前面加上"\",这样在split、replaceAll时就不会报错了; 不过要注意,String.contains()方 阅读全文
posted @ 2022-02-25 14:09 xiexie0812 阅读(1161) 评论(0) 推荐(0)
摘要: hibernate property出现 Field 'culture_title' doesn't have a default value 异常分析 在MySQL 5.0.2之后对数据输入进行了强制性的加严处理,并且保留了以前的MySQL对非法或不当值并不严厉的行为, MySQL默认是对数据进行 阅读全文
posted @ 2022-02-25 14:04 xiexie0812 阅读(742) 评论(0) 推荐(0)
摘要: 第一种 int num1 = 10; int num2 = 89; NumberFormat numberFormat = NumberFormat.getInstance(); // 设置精确到小数点后2位 numberFormat.setMaximumFractionDigits(2); // 阅读全文
posted @ 2022-02-25 14:02 xiexie0812 阅读(248) 评论(0) 推荐(0)
摘要: IP地址查询接口 import requests r=requests.post(url='http://ip.taobao.com/service/getIpInfo2.php', data={'ip': 'myip'}) print(r.json()) 建议使用 http://ip-api.co 阅读全文
posted @ 2021-10-22 17:15 xiexie0812 阅读(1132) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { // 构建一个Map 初始值为3条数据 Map<String, String> map = new HashMap<String, String>(); map.put("1", "xiaqiu"); map.put( 阅读全文
posted @ 2021-09-15 16:01 xiexie0812 阅读(103) 评论(0) 推荐(0)
摘要: 简历模板 1. 知页简历 https://www.zhiyeapp.com/ 2. 超级简历 https://www.wondercv.com/ 3. 极简polebrief https://www.polebrief.com/index 阅读全文
posted @ 2021-08-31 19:02 xiexie0812 阅读(743) 评论(0) 推荐(0)
摘要: 获取IP https://api.ipify.org/?format=json 获取地区 http://whois.pconline.com.cn/ip.jsp?ip= 百度开放接口 http://opendata.baidu.com/api.php?query=80.55.32.238&co=&r 阅读全文
posted @ 2021-08-26 10:58 xiexie0812 阅读(417) 评论(0) 推荐(0)
摘要: linux安装mysql5.x 查看MySQL各个版本下载地址: https://downloads.mysql.com/archives/community/ 例如 MySQL 5.6.45 下载地址是 https://cdn.mysql.com/archives/mysql-5.6/mysql- 阅读全文
posted @ 2021-08-23 17:36 xiexie0812 阅读(216) 评论(0) 推荐(0)
摘要: idea的常用配置 一、基础设置 字体设置 界面设置 File-->Setting-->Appearance & Behavior-->Appearance 程序字体设置 File-->Setting-->Editor --> Font 设置编码UTF-8 File-->Settings-->Edi 阅读全文
posted @ 2021-08-13 11:47 xiexie0812 阅读(249) 评论(0) 推荐(0)
摘要: 致谢 我走了很远的路,吃了很多的苦,才将这份博士学位论文送到你的面前。二 十二载求学路,- -路风雨泥泞,许多不容易。如梦-一场, 仿佛昨天- - 家人才团聚 过。 出生在一一个小山坳里,母亲在我十二岁时离家。父亲在家的日子不多,即便 在我病得不能自己去医院的时候,也仅是留下勉强够治病的钱后又走了。 阅读全文
posted @ 2021-04-23 09:58 xiexie0812 阅读(226) 评论(0) 推荐(0)