上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: # pip install urllib3 import urllib3 # Fetch API data url = "https://api.github.com/users/psf/repos" http = urllib3.PoolManager() response = http.requ 阅读全文
posted @ 2024-03-20 10:03 KeepSmiling_me 阅读(31) 评论(0) 推荐(0)
摘要: pipeline { agent { label 'ubuntu' } stages { stage('拉取代码') { steps { checkout scmGit(branches: [[name: 'main']], extensions: [submodule(depth: 1, pare 阅读全文
posted @ 2024-03-19 14:31 KeepSmiling_me 阅读(32) 评论(0) 推荐(0)
摘要: FROM anapsix/alpine-java:8u201b09_server-jre_nashorn RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN mkdir -p /jeecg-demo-cloud WORKDI 阅读全文
posted @ 2024-03-19 09:42 KeepSmiling_me 阅读(33) 评论(0) 推荐(0)
摘要: login_res=`curl -s -X POST "172.26.221.111:8082/api/user/login?username=wk&password=12122 ` echo "调用登录接口返回:$login_res" if [ $(echo "$login_res" | jq - 阅读全文
posted @ 2024-03-14 15:08 KeepSmiling_me 阅读(161) 评论(0) 推荐(0)
摘要: 安装 Docker wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo # yum list docker-ce --showduplicat 阅读全文
posted @ 2024-03-02 13:43 KeepSmiling_me 阅读(18) 评论(0) 推荐(0)
摘要: 1. Linux 环境 # 关闭防火墙 systemctl stop firewalld && systemctl disable firewalld # 关闭 swap swapoff -a && sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab # 关闭 阅读全文
posted @ 2024-03-02 12:07 KeepSmiling_me 阅读(58) 评论(0) 推荐(0)
摘要: 引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> 配置文件 @Configuration 阅读全文
posted @ 2024-01-18 15:01 KeepSmiling_me 阅读(17) 评论(0) 推荐(0)
摘要: ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(); 这段代码使用 Java 的 ScheduledExecutorService 接口和 Executors 类来创建一个单线 阅读全文
posted @ 2024-01-05 15:00 KeepSmiling_me 阅读(68) 评论(0) 推荐(0)
摘要: 代码地址: i-batis: 简易mybatis (gitee.com) 阅读全文
posted @ 2023-12-27 15:16 KeepSmiling_me 阅读(10) 评论(0) 推荐(0)
摘要: mv target/*.jar docker/ docker build -t mytest:$tag docker/ docker login -u admin -p Harbor12345 192.168.11.102:80 docker tag mytest:$tag 192.168.11.1 阅读全文
posted @ 2023-11-24 16:18 KeepSmiling_me 阅读(53) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页