凉城旧巷
Python从入门到自闭,Java从自闭到放弃,数据库从删库到跑路,Linux从rm -rf到完犊子!!!
摘要: pip离线下载安装第三方库 1、可联网设备下载 -d # 用于指定下载保存目录 # 1.下载单个包 pip3 download -d <your_offline_packages> <package_name> # 2.批量下载多个包 pip3 download -d <your_offline_p 阅读全文
posted @ 2022-01-18 10:27 凉城旧巷 阅读(1842) 评论(0) 推荐(0) 编辑
摘要: Centos离线以安装包形式安装gcc等软件 本文以gcc软件为例 一、准备 设备A、设备B,设备A能联网,设备B不能联网 二、获取安装包 方式一: 该方式需要用到系统镜像解压文件 需要知道欲安装软件包含哪些包 1、在设备A(可以是windows、linux任意系统)下载好Centos镜像,解压镜像 阅读全文
posted @ 2021-12-31 10:46 凉城旧巷 阅读(934) 评论(0) 推荐(0) 编辑
摘要: python 生成 requirement.txt python 项目中必须包含一个 requirement.txt 文件,用于记录所有依赖包以及对应的版本号,以便新环境部署 requirement.txt 可以通过 pip 命令自动生成和安装 1、生成pip安装的所有依赖包 生成requireme 阅读全文
posted @ 2020-08-21 11:07 凉城旧巷 阅读(339) 评论(0) 推荐(0) 编辑
摘要: subprocess中的return_code与poll p = subprocess.Popen('ping 8.8.8.8', shell=True, stdout=subprocess.PIPE, stderror=subprocess.DEVNULL) while not p.poll(): 阅读全文
posted @ 2024-02-21 15:35 凉城旧巷 阅读(21) 评论(0) 推荐(0) 编辑
摘要: # Pypy安装 ## 一、安装Pypy ### 1、下载pypy3.10 链接:https://www.pypy.org/download.html ![](https://img2023.cnblogs.com/blog/1461466/202308/1461466-20230814175522 阅读全文
posted @ 2023-08-14 17:56 凉城旧巷 阅读(266) 评论(0) 推荐(0) 编辑
摘要: # Excel实现下拉菜单多选 **注意事项** - 需要用到VBA宏编程 - WPS需要商业版才能启用VBA编程,office破解版(仅供学习)可以使用 - 本文所有操作均在office2021上进行 ## 一、(已有可忽略)打开office开发者工具 - "文件“ --> "选项" --> "自 阅读全文
posted @ 2023-08-09 11:34 凉城旧巷 阅读(5193) 评论(0) 推荐(0) 编辑
摘要: # Linux离线升级pip ## 1、下载pip的whl包 **pypi链接:**https://pypi.org/project/pip/#files ![](https://img2023.cnblogs.com/blog/1461466/202308/1461466-202308041343 阅读全文
posted @ 2023-08-04 13:45 凉城旧巷 阅读(532) 评论(0) 推荐(0) 编辑
摘要: # centos7安装chrome ## 一、下载rpm包(在linux上下载) 下载链接:https://www.google.cn/chrome/next-steps.html?statcb=0&installdataindex=empty&defaultbrowser=0 ## 二、下载安装依 阅读全文
posted @ 2023-07-21 10:32 凉城旧巷 阅读(468) 评论(0) 推荐(0) 编辑
摘要: # centos7.8安装Python-3.10 ## 一. 安装openssl python3.10需要openssl至少1.1.1,而centos7.8默认版本为1.0.2* 参考:https://www.cnblogs.com/linagcheng/p/15870060.html ## 二. 阅读全文
posted @ 2023-07-14 15:51 凉城旧巷 阅读(127) 评论(0) 推荐(0) 编辑
摘要: # gitlab、gerrit安装与集成 ## 一、Gitlab-15.10.3 ### 1、安装包、依赖包 ```bash gitlab-ce-15.10.3-ce.0.el7.x86_64.rpm ``` ### 2、安装 ```bash rpm -ivh gitlab-ce-15.10.3-c 阅读全文
posted @ 2023-06-05 10:42 凉城旧巷 阅读(725) 评论(2) 推荐(0) 编辑
摘要: Git冲突分析及解决 一、git pull时冲突 解决完冲突以后,原来的一个commit,会变成两个,解决冲突的过程也会被提交为一个commit 1、git pull在commit后执行 1)情景 git branch # * b_b # master git add b.txt git commi 阅读全文
posted @ 2023-05-19 09:33 凉城旧巷 阅读(442) 评论(0) 推荐(0) 编辑
摘要: Jenkins配置jenkins返回构建状态到Gitlab 该实验基于Jenkins+gitlab自动构建的实验配置:https://www.cnblogs.com/linagcheng/p/17402174.html 一、环境搭建 以下环境配置请参考博文:https://www.cnblogs.c 阅读全文
posted @ 2023-05-15 17:04 凉城旧巷 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Jenkins配置Gitlab自动触发构建 一、插件安装 Jenkins插件清华镜像:https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/ gitlab-plugin.hpi git.hpi 二、Git配置 我这里使用ssh key,不使用use 阅读全文
posted @ 2023-05-15 15:58 凉城旧巷 阅读(2796) 评论(0) 推荐(0) 编辑