摘要: 1.执行openssh命令,在用户目录下的.ssh目录中就会生成id_rsa和id_rsa.pub两个公私秘钥文件了 2.登录 3.上传本地文件,用rz命令,乱码的话,用rz -b sz是下载命令,上传对应rz,记住 “rz 收(本地→远程)、sz 发(远程→本地)”。 阅读全文
posted @ 2026-02-05 15:54 lingwang3 阅读(2) 评论(0) 推荐(0)
摘要: 1.获取需要滑动的图片 import base64 if safe_query(page, '//*[contains(text(),"向右滑动完成验证")]'): target_img = safe_query(page, '//*[@class="verify-sub-block"]/img') 阅读全文
posted @ 2026-02-03 11:24 lingwang3 阅读(4) 评论(0) 推荐(0)
摘要: 1.查看操作系统gcc版本:cat /proc/version 2.搜索对应的版本支持的nodejs,不然安装版本不匹配,比如:gcc version 4.8.5 适合安装nodejs哪个版本。参考https://blog.csdn.net/william_n/article/details/106 阅读全文
posted @ 2024-08-20 19:33 lingwang3 阅读(44) 评论(0) 推荐(0)
摘要: 1.打包 bash build.sh 2.部署 2.1.先生成1个yaml配置文件 2.2. kubectl apply -f xxx-xx-x.yaml 注意配置文件不能出现下划线,用中划线和. 2.3.查看部署是否成功: kubectl get pod | grep xxx-xx-x 2.4.进 阅读全文
posted @ 2024-07-23 11:22 lingwang3 阅读(75) 评论(0) 推荐(0)
摘要: 1.安装:pip install pyyaml 2.使用: yaml.safe_dump(dict_data, fss, indent=2, sort_keys=False, allow_unicode=True) yaml.safe_load(open(file, 'r', encoding="u 阅读全文
posted @ 2024-06-27 11:36 lingwang3 阅读(112) 评论(0) 推荐(0)
摘要: 1.去https://pypi.org/project/DrissionPage/#files官网下载最新版本的whl版本 2.pip install xxx.whl 3.使用 阅读全文
posted @ 2024-06-25 18:59 lingwang3 阅读(976) 评论(0) 推荐(0)
摘要: 大模型时代,多年python开发人员,多多少少得了解模型训练这块,先从学习LLaMA-Factory开启吧!!! 地址:https://colab.research.google.com/drive/1d5KQtbemerlSDSxZIfAaWXhKr30QypiK?usp=sharing&pli= 阅读全文
posted @ 2024-05-07 16:41 lingwang3 阅读(40) 评论(0) 推荐(0)
摘要: linux上python运行execjs函数,需要js环境,需要安装nodejs和npm sudo apt-get updatecurl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash apt-get install nodejs - 阅读全文
posted @ 2024-04-11 19:26 lingwang3 阅读(127) 评论(0) 推荐(0)
摘要: 1.部署django项目 1.1. 根据django项目中setting.py文件,安装对应的django版本,防止代码运行不起来。 1.2.django所需的python环境 最好由anaconda新建的虚拟环境来进行部署且不能是root用户,建议建一个新用户,不然后期uwsgi的安装环境会有问题 阅读全文
posted @ 2023-03-24 10:36 lingwang3 阅读(56) 评论(0) 推荐(0)
摘要: pandas 1.4.4 xlwt 1.3.0 XlsxWriter 3.0.3 第三个必须要有,不然长文本丢失,第一个和第二个版本要匹配,不然会报错 阅读全文
posted @ 2023-03-17 11:44 lingwang3 阅读(479) 评论(0) 推荐(0)