Loading

上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: 安装VMware16参考地址: https://blog.csdn.net/qq_40950957/article/details/80467513 https://www.cnblogs.com/fuhengheng/p/11899009.html 在ubuntu系统安装VMware出现打开 Co 阅读全文
posted @ 2021-12-21 15:19 就学45分钟 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 使用场景: 我们有时候开发代码需要把代码同步到多个远程库中,方便发布到不同渠道中。 我们知道,git是分布式版本控制系统,同步到多个远程库时,需要用不同的名称来标识不同的远程库,而git给远程库起的默认名称是origin。所以我们需要修改、配置名称,以关联不同远程库。 Git 配置 Github、G 阅读全文
posted @ 2021-11-29 17:01 就学45分钟 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 需求:A和B是两个字典,Key值存在相同的值,当两个字典的key值相同的时候,如何将dic1对应的values取出来作为新的字典values,dic2对应的values取出来作为新字典的key A = {"name": "姓名", "age": "年龄", "gender": "性别"} B = { 阅读全文
posted @ 2021-11-09 17:37 就学45分钟 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 查看本地分支状态 git status git pull origin dev_new1 git add . git status git commit -m "" 切换到主分支 git checkout dev_new1 git pull origin dev_new1 git merge 本地开 阅读全文
posted @ 2021-11-03 16:03 就学45分钟 阅读(151) 评论(0) 推荐(0) 编辑
摘要: def clean_empty(d): """ 清除字典中值为空的键值对 """ if not isinstance(d, (dict, list)): return d if isinstance(d, list): return [v for v in (clean_empty(v) for v 阅读全文
posted @ 2021-10-29 15:06 就学45分钟 阅读(598) 评论(0) 推荐(0) 编辑
摘要: def list_allfile(path, all_files=[], all_py_files=[]): if os.path.exists(path): files = os.listdir(path) else: print('this path not exist') for file i 阅读全文
posted @ 2021-10-09 17:40 就学45分钟 阅读(390) 评论(0) 推荐(0) 编辑
摘要: import pymysql class MysqlHelper: def __init__(self, config): self.host = config["host"] self.port = config["port"] self.user = config["user"] self.pa 阅读全文
posted @ 2021-09-16 13:46 就学45分钟 阅读(222) 评论(0) 推荐(0) 编辑
摘要: ubuntu20.04安装elasticsearch https://blog.csdn.net/weixin_44596128/article/details/103970665 https://zhuanlan.zhihu.com/p/336560713 max virtual memory a 阅读全文
posted @ 2021-09-15 11:35 就学45分钟 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 系统信息:CentOS Linux release 7.6.1810 (Core) 从mongodb官网获取mongodb的下载地址:https://www.mongodb.com/try/download/community MongoDB 是一个基于分布式文件存储的数据库。由 C++ 语言编写。 阅读全文
posted @ 2021-08-11 14:39 就学45分钟 阅读(795) 评论(0) 推荐(0) 编辑
摘要: wget 下载速度慢: 通过更换国内源解决,之前默认时国外源,下载速度慢: cd /etc cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.back #建议备份或者改名 wget -O CentOS-Base.repo http:/ 阅读全文
posted @ 2021-08-02 14:31 就学45分钟 阅读(2588) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页