2024年9月11日

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 阅读(159) 评论(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 阅读(83) 评论(0) 推荐(0)

2023年1月23日

终端设置代理

摘要: 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 阅读(140) 评论(0) 推荐(0)

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 阅读(142) 评论(0) 推荐(0)

2022年12月9日

一键安装cuda

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

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

2022年10月18日

nohup后台运行

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

posted @ 2022-10-18 16:36 lxxd 阅读(22) 评论(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 阅读(116) 评论(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 阅读(87) 评论(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 阅读(33) 评论(0) 推荐(0)

2022年9月3日

Python环境安装及配置

摘要: 下载miniconda https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ 配置pip 升级pip: python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -- 阅读全文

posted @ 2022-09-03 11:27 lxxd 阅读(59) 评论(0) 推荐(0)

导航