2024年9月11日

Springboot 统一返回接口

摘要: import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Commo 阅读全文

posted @ 2024-09-11 14:15 lxxd 阅读(62) 评论(0) 推荐(0)

Springboot枚举自定义序列化

摘要: package xxxxxxxxxxxxx; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jac 阅读全文

posted @ 2024-09-11 14:06 lxxd 阅读(199) 评论(0) 推荐(0)

2023年2月4日

go env -w GOPROXY=https://goproxy.cn,direct

摘要: go env -w GOPROXY=https://goproxy.cn,direct 阅读全文

posted @ 2023-02-04 12:37 lxxd 阅读(98) 评论(0) 推荐(0)

2023年1月23日

npm mirror

摘要: 1. 腾讯 npm config set registry http://mirrors.cloud.tencent.com/npm/ 2. 华为 npm config set registry https://mirrors.huaweicloud.com/repository/npm/ 3. 默 阅读全文

posted @ 2023-01-23 15:49 lxxd 阅读(171) 评论(0) 推荐(0)

终端设置代理

摘要: cmd set http_proxy=http://127.0.0.1:10811 set https_proxy=http://127.0.0.1:10811 bash function on_proxy() { export no_proxy="localhost,127.0.0.1,local 阅读全文

posted @ 2023-01-23 15:49 lxxd 阅读(175) 评论(0) 推荐(0)

2022年12月9日

一键安装cuda

摘要: https://developer.nvidia.com/cuda-downloads 阅读全文

posted @ 2022-12-09 13:27 lxxd 阅读(57) 评论(0) 推荐(0)

2022年10月18日

nohup后台运行

摘要: nohup xxxxx > run.log 2>&1 & 阅读全文

posted @ 2022-10-18 16:36 lxxd 阅读(25) 评论(0) 推荐(0)

2022年10月5日

Centos 7,8 更换源

摘要: cd /etc/yum.repos.d/# 对于 CentOS 7 sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna. 阅读全文

posted @ 2022-10-05 17:02 lxxd 阅读(134) 评论(0) 推荐(0)

ssh反向代理

摘要: ssh -L 8080:127.0.0.1:8080 root@x.x.x.x将x.x.x.x的8080映射到本地 ssh -CNfL a_port:c_ip:c_port b_user@b_ip 阅读全文

posted @ 2022-10-05 16:57 lxxd 阅读(94) 评论(0) 推荐(0)

2022年9月28日

git 代理

摘要: http代理 git config --global https.proxy http://127.0.0.1:10800 git config --global https.proxy https://127.0.0.1:10800 socks5代理 git config --global htt 阅读全文

posted @ 2022-09-28 08:49 lxxd 阅读(59) 评论(0) 推荐(0)

导航