摘要:
1.自定義類加載器 ExternalClassLoader 2.創建掃描類 ClassPathScanner package com.tool.scan; import java.io.File; import java.util.List; public class ScanTest { publ
閱讀全文
posted @ 2025-07-09 20:27
仙路盡頭誰為峰
閱讀(6)
推薦(0)
摘要:
exiftool -FileModifyDate="2024:06:10 20:30:00+08:00" image.jpg exiftool -FileCreateDate="2020:06:10 20:30:00+08:00" README.txt FileCreateDate:文件創建時間(系
閱讀全文
posted @ 2025-06-10 20:45
仙路盡頭誰為峰
閱讀(41)
推薦(0)
摘要:
啟動腳本 vi start.sh cd xx cp java demo demo -jar xx.jar 停止腳本 vi stop.sh pid=$(pidof demo) if [ $pid ]; then kill -15 $pid fi 制作服務配置 cd /etc/systemd/syste
閱讀全文
posted @ 2025-06-08 11:29
仙路盡頭誰為峰
閱讀(5)
推薦(0)
摘要:
jenkins可以使用本地的環境變量,但新增的環境變量,必須重啟jenkins 節點也可以使用,同理新增需重啟
閱讀全文
posted @ 2025-06-07 15:08
仙路盡頭誰為峰
閱讀(12)
推薦(0)
摘要:
1.復制文件 scp 本地文件 user@ip:/home 2.遞歸復制文件夾 scp -r 本地文件夾 user@ip:/home
閱讀全文
posted @ 2025-06-07 15:04
仙路盡頭誰為峰
閱讀(6)
推薦(0)
摘要:
ssh_keygen 參數都默認 ssh_copy_id -i ~/.ssh/*pub user@ipip
閱讀全文
posted @ 2025-06-07 14:57
仙路盡頭誰為峰
閱讀(3)
推薦(0)
摘要:
在系統配置中修改jenkins地址,將默認的localhost修改為具體的IP或服務器名 在節點管理新增節點并配置 在節點服務器上訪問jenkins的節點配置 下載agent.jar 根據提示執行啟動agent命令 注意: localhost一定要修改
閱讀全文
posted @ 2025-06-07 14:53
仙路盡頭誰為峰
閱讀(25)
推薦(0)
摘要:
shell 錯誤退出 set -e 錯誤不退出 #!/bin/bash command1 || { echo "command1 failed, but we'll continue"; exit 1; }command2 bat @echo offsetlocal enabledelayedexp
閱讀全文
posted @ 2025-06-07 09:55
仙路盡頭誰為峰
閱讀(4)
推薦(0)
摘要:
修改“對方微信名稱”, 將下列代碼保存到txt, 重命名為xx.vbs, 打開微信,打開和對方的聊天窗口 復制想要發送的文本 點擊xx.vbs Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.AppActivate "對方微
閱讀全文
posted @ 2022-04-12 15:07
仙路盡頭誰為峰
閱讀(127)
推薦(0)
摘要:
public String handle(Function<Consumer<Object>, WebPortalMessageWrapper> processor, Consumer<Object> emailSendHandler) { CompletableFuture<String> fut
閱讀全文
posted @ 2022-04-06 09:30
仙路盡頭誰為峰
閱讀(43)
推薦(0)