摘要: #rpm构建流程 学习链接: b站马哥: https://www.bilibili.com/video/BV1ai4y1N7gp RedHat: https://access.redhat.com/documentation/zh-cn/red_hat_enterprise_linux/8/html 阅读全文
posted @ 2021-11-02 23:49 绣幕 阅读(477) 评论(0) 推荐(0) 编辑
摘要: git安装后push每次输入密码解决 https://www.cnblogs.com/liliuyu/p/14016350.html #设置之后输入一次密码之后不需要再次输入 git config --global credential.helper store #设置提交时的参数 git conf 阅读全文
posted @ 2021-09-28 00:45 绣幕 阅读(19) 评论(0) 推荐(0) 编辑
摘要: sql相关 编码格式 show variables like 'character_set_database'; 修改编码格式 SET character_set_client = utf8; SET character_set_results = utf8; SET character_set_c 阅读全文
posted @ 2021-09-25 16:24 绣幕 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 打通ssh https://www.cnblogs.com/yolanda-lee/p/4975453.html 阅读全文
posted @ 2021-09-24 23:16 绣幕 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #form表单 ##Form-Item Slot 【label】 旧版语法 <el-form-item label="活动名称" prop="name"> <a href="" slot="label">百度</a> <el-input v-model="ruleForm.name" placeho 阅读全文
posted @ 2021-09-08 00:48 绣幕 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 多线程threading模块例子 import threading import time flag = True def fun01(): global flag time.sleep(5) flag = False if flag else True print("flag:" + str(fl 阅读全文
posted @ 2021-08-27 00:05 绣幕 阅读(31) 评论(0) 推荐(0) 编辑
摘要: sed 用法 / /开启匹配模式ased '1,3a\hello world' 1.txt 1-3行追加hellosed '/3/a\hello' 1.txt 匹配3追加hello i sed '1i\hello' 1.txt 第一行前插入 sed '/3/i\hello' 1.txt 匹配插入ds 阅读全文
posted @ 2021-08-15 01:22 绣幕 阅读(54) 评论(0) 推荐(0) 编辑
摘要: python manage.py inspectdb > [your app name]\models.py 执行后 model.py乱码,将models.py以 UTF-16LE打开。 阅读全文
posted @ 2021-08-07 17:35 绣幕 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 对象的引用 使用**只是拷贝了字典的最外层,加个deepcopy可以实现深拷贝,递归的去复制对象 bug来源: 在一次将数据库里的数据转成json格式过程中,在遍历数据库对象时,对象的引用不当,导致最后的数据全被遍历的最后一个对象覆盖。 阅读全文
posted @ 2021-08-07 16:29 绣幕 阅读(24) 评论(0) 推荐(0) 编辑
摘要: this.color = 'red' ? 'blue' : 'red' this.color永远为 'red,因为'red' ? 'blue' : 'red'永远为‘red’ this.color = this.color 'red' ? 'blue' : 'red' this.color会根据& 阅读全文
posted @ 2021-07-04 16:44 绣幕 阅读(57) 评论(0) 推荐(0) 编辑