摘要:
// ==UserScript== // @name url自动追加端口 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You
阅读全文
posted @ 2024-05-09 18:12
花开浪漫拾
阅读(100)
推荐(0)
摘要:
linux根据进程关键搜索字批量结束进程(替换xxxxxx为自己想要查的关键字进程) ps -ef|grep xxxxxx|grep -v grep|awk '{print "kill -9 " $2}' |sh
阅读全文
posted @ 2024-01-10 09:02
花开浪漫拾
阅读(109)
推荐(0)
摘要:
#1:(注意!)使用Git bash here执行: #2:查看git每个人当日提交代码行数(修改--after="2023-11-15 00:00:00"日期为今天 ,可以查询当日所有人提交代码量),--before="2099-12-31 23:59:59" 为截止时间 git log --fo
阅读全文
posted @ 2023-11-15 16:52
花开浪漫拾
阅读(1012)
推荐(13)
摘要:
#为了解决本地打包上传到服务器时耗时过久,直接用服务器自动更新代码并打包 #使用 sh linux-dabao-auto.sh 即可 linux-dabao-1-git-pull.sh #更新代码cd /home/app/szzy/yjdaxt/git/sz-yjda/home/app/szzy/y
阅读全文
posted @ 2023-11-13 17:51
花开浪漫拾
阅读(127)
推荐(0)
摘要:
代码如下: @ControllerAdvice public class GlobalExceptionHandler { private static final Logger logger = LoggerFactory.getLogger(GlobalExceptionHandler.clas
阅读全文
posted @ 2023-09-18 11:33
花开浪漫拾
阅读(111)
推荐(0)
摘要:
原因: openjdk无法打包 解决:maven打包名加上 -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true 比如:mvn clean -Dmaven.wagon.http.ssl.insecure=t
阅读全文
posted @ 2023-09-12 00:46
花开浪漫拾
阅读(768)
推荐(10)
摘要:
解决:使用call来调用命令 ::当前目录 set work_path=%~dp0 cd /d %work_path% call mvn clean call mvn install echo ok... pause 执行结果:
阅读全文
posted @ 2023-08-24 17:12
花开浪漫拾
阅读(106)
推荐(0)
摘要:
nohup作为简单的jar包部署程序,可以保证关闭窗口后程序继续运行。 使用说明: APP_NAME设置为jar包名,脚本和jar包放在同一个目录下脚本命名为:start.sh 自己随意命名。 启动: sh start.sh #这里可替换为你自己的执行程序,其他代码无需更改 APP_NAME=aaa
阅读全文
posted @ 2023-07-19 21:16
花开浪漫拾
阅读(564)
推荐(3)
摘要:
达梦数据库报错时提示:不是 GROUP BY 表达式 解决: 第1步: 执行 sp_set_para_value函数如下: select para_name,para_value,para_type from v$dm_ini where para_name='COMPATIBLE_MODE'; #
阅读全文
posted @ 2023-07-13 20:12
花开浪漫拾
阅读(4426)
推荐(18)
摘要:
#定义在当前项目下,使springboot能扫描到 @Configuration public class RequestLoggerFilter { @Bean public CommonsRequestLoggingFilter commonsRequestLoggingFilter() { C
阅读全文
posted @ 2023-07-12 11:17
花开浪漫拾
阅读(146)
推荐(2)