摘要: pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2023-12-04 21:32 huanglei2010 阅读(40) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ctypyb2002/p/9793000.html select * from pg_stat_activity; # 查看一些插件 select * from pg_available_extensions where name like '%plp 阅读全文
posted @ 2023-10-30 15:17 huanglei2010 阅读(8) 评论(0) 推荐(0) 编辑
摘要: cinst ffmpeg -y 阅读全文
posted @ 2023-06-16 22:04 huanglei2010 阅读(4) 评论(0) 推荐(0) 编辑
摘要: import lombok.Data; import net.sf.json.JSONObject; import java.io.Serializable; import java.util.Date; /** * 流程日志扩展类 * @author hxy * @email huangxiany 阅读全文
posted @ 2023-01-04 14:52 huanglei2010 阅读(66) 评论(0) 推荐(0) 编辑
摘要: <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.1.1.RELEASE</version> <con 阅读全文
posted @ 2023-01-04 09:33 huanglei2010 阅读(68) 评论(0) 推荐(0) 编辑
摘要: which java ls -lrt /bin/java 阅读全文
posted @ 2022-10-18 09:09 huanglei2010 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 搜索 复制 阅读全文
posted @ 2022-07-16 20:03 huanglei2010 阅读(85) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { String a="love234csdn"; String regEx="[^0-9]"; // 匹配所有的非数字 Pattern p = Pattern.compile(regEx); Matcher m = p. 阅读全文
posted @ 2022-07-15 08:58 huanglei2010 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 添加环境变量 -e PASSWORD_AUTHENTICATION="md5" https://github.com/kartoza/docker-postgis 阅读全文
posted @ 2021-12-20 18:08 huanglei2010 阅读(2810) 评论(0) 推荐(0) 编辑
摘要: kpi sql 积累 -- 2021-10-28 update kpi_value_in set value = replace (value , E'%',''):: numeric / 100 where position ('%' in value) > 0 and value is not 阅读全文
posted @ 2021-10-28 18:46 huanglei2010 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 学习postgis 的funciton select 'LINESTRING(40 100, 98 100, 100 150, 60 90)'::geometry; -- 先画一条线 select ST_Buffer('LINESTRING(40 100, 98 100, 100 150, 60 9 阅读全文
posted @ 2021-10-28 16:26 huanglei2010 阅读(96) 评论(0) 推荐(0) 编辑
摘要: pip install mysqlclient 阅读全文
posted @ 2021-06-16 09:24 huanglei2010 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-03-04 15:36 huanglei2010 阅读(1040) 评论(1) 推荐(1) 编辑
摘要: <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <excludes> <e 阅读全文
posted @ 2021-03-01 10:11 huanglei2010 阅读(521) 评论(0) 推荐(0) 编辑
摘要: pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2021-02-25 21:44 huanglei2010 阅读(697) 评论(0) 推荐(0) 编辑
摘要: https://www.codenong.com/30323224/ if __name__ == '__main__': app.run(debug=True,host='0.0.0.0') 阅读全文
posted @ 2021-02-23 14:54 huanglei2010 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-01-03 22:09 huanglei2010 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 生成爬虫 启动爬虫 阅读全文
posted @ 2020-12-29 15:03 huanglei2010 阅读(70) 评论(0) 推荐(0) 编辑
摘要: idea ctrl+e 最近打开的文件 idea alt+CapsLock 列编辑 阅读全文
posted @ 2020-11-25 14:24 huanglei2010 阅读(755) 评论(0) 推荐(0) 编辑
摘要: kubectl exec -it ds-test-m9mrh bash 进入到某个pod里面 kubectl exec -it ds-test-m9mrh bash job.yaml kubectl create -f .\job.yaml apiVersion: batch/v1 kind: Jo 阅读全文
posted @ 2020-11-14 15:08 huanglei2010 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-10-25 08:30 huanglei2010 阅读(84) 评论(0) 推荐(0) 编辑
摘要: jeecg-boot 私服 阅读全文
posted @ 2020-10-23 19:45 huanglei2010 阅读(160) 评论(0) 推荐(0) 编辑
摘要: cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c find ./ -mtime +10 -exec rm -f {} \; #删除10天以前的所有日志。 阅读全文
posted @ 2020-10-21 09:25 huanglei2010 阅读(200) 评论(0) 推荐(0) 编辑
摘要: command_type, 1 入职, 2 修改 , 3 离职 阅读全文
posted @ 2020-10-14 21:56 huanglei2010 阅读(247) 评论(0) 推荐(0) 编辑
摘要: update zt_soa_users_origin set processed=0 where pri_key in( select pri_key from zt_soa_users_origin zsuo where processed = -1 and import_date >'2020- 阅读全文
posted @ 2020-10-14 15:44 huanglei2010 阅读(81) 评论(0) 推荐(0) 编辑
摘要: pip install -r requirements.txt --timeout 90000000 requirements.txt 中的格式 如下 Flask==1.1.1其中 docx 模块为 python-docx==0.8.10 阅读全文
posted @ 2020-10-14 15:25 huanglei2010 阅读(300) 评论(0) 推荐(0) 编辑
摘要: # https://blog.csdn.net/qq_31156277/article/details/90374872 pg_dump -h localhost -p 5432 -U zt -F c -b -v -f /home/deployer/backup/itom2 itom pg_rest 阅读全文
posted @ 2020-08-15 07:53 huanglei2010 阅读(468) 评论(0) 推荐(0) 编辑
摘要: SELECT to_json('some "text"'::text)select array[to_json('Some "text"'::TEXT)] ; select array_to_json(array[to_json('Some "text"'::TEXT)]) ; select arr 阅读全文
posted @ 2020-06-13 00:08 huanglei2010 阅读(5878) 评论(0) 推荐(0) 编辑
摘要: 转自 https://blog.csdn.net/qq_27948659/article/details/80895860 public R downLoadFiles(){ logger.info("执行开始下载命令"); String cmd = //"hadoop fs -ls /files/ 阅读全文
posted @ 2019-12-02 16:20 huanglei2010 阅读(1296) 评论(0) 推荐(0) 编辑
摘要: @ApiOperation(value = "获取子公司sub,省分prov,总部hq, 全部 total 指标值中的 最高分,最低分,平均分") @RequestMapping(value = "/getMaxAndMinAndAverageKpiValue", method = RequestM 阅读全文
posted @ 2019-11-29 08:46 huanglei2010 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: 带有逗号的先用字符串去接收,转double的时候进行处理 public PmsInfo convertTo(PmsInfo2 pmsInfo2) { PmsInfo pmsInfo= new PmsInfo(); try { Class clz = pmsInfo.getClass(); Class 阅读全文
posted @ 2019-11-27 11:14 huanglei2010 阅读(556) 评论(0) 推荐(0) 编辑
摘要: kpi_id 139 能力商店上架率(在能力商店上架的能力数)、 kpi_id 1575 数据中台使用度(API调用次数、标签调用次数、数据服务调用次数、框架组件订购量)、 kpi_id 164 划小工单流程处理效率(倒三角划小集团工单平均处理时长、倒三角划小省分工单平均处理时长、倒三角划小市分工单 阅读全文
posted @ 2019-10-25 16:46 huanglei2010 阅读(677) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-10-24 15:26 huanglei2010 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 添加触发器 阅读全文
posted @ 2019-09-06 14:51 huanglei2010 阅读(2397) 评论(0) 推荐(0) 编辑
摘要: 说明:主从复制现在遇到大问题,关闭两个postgresq互相通信的端口后,再重新打开,数据库的日志一直报错。 现在,就需要解决这个问题。 1.首先要了解主从复制是怎么搭建起来的 参考 https://blog.51cto.com/wn2100/2238996 以下命令可以登入数据库 su deplo 阅读全文
posted @ 2019-08-02 08:26 huanglei2010 阅读(171) 评论(0) 推荐(0) 编辑
摘要: -- 更新自动化序列 这个常常要用到的 select setval('dm_table_column_id_seq',(select max(id) from dm_table_column)); select setval('dm_table_id_seq',(select max(id) from dm_table)); select setval('dm_database_i... 阅读全文
posted @ 2019-07-16 16:15 huanglei2010 阅读(1361) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { try { // 文件流甚是牛逼 Stream stream = Files.lines(Paths.get("pom.xml")); stream.forEach(System.out::println); ... 阅读全文
posted @ 2019-07-12 08:47 huanglei2010 阅读(1241) 评论(0) 推荐(0) 编辑
摘要: fastjson在java开发中有妙用 阅读全文
posted @ 2019-07-10 16:26 huanglei2010 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 在使用idea的时候,在springboot中使用内置的tomcat控制台中中文乱码,这个问题困扰我好长时间了,今天终于解决了 https://blog.csdn.net/colcool/article/details/85180935 阅读全文
posted @ 2019-05-19 15:34 huanglei2010 阅读(4628) 评论(1) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/cs4380/article/details/86597127 添加端口 sudo firewall-cmd --zone=public --add-port=xxxx/tcp --permanent 刷新生效 sudo firewall-cmd - 阅读全文
posted @ 2019-04-11 17:57 huanglei2010 阅读(2445) 评论(0) 推荐(0) 编辑