摘要: #linux ##tar 压缩 tar -cvzf pello-0.1.2.tar.gz pello-0.1.2 解压 tar -xf .gz -C / - C:解压到那个路径下 tar -xzvf .gz (显示解压过程) ##ln ln -s 源文件/目录 目标文件/目录(快捷键) ln -s 阅读全文
posted @ 2021-11-06 15:03 绣幕 阅读(25) 评论(0) 推荐(0)
摘要: #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 绣幕 阅读(542) 评论(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 绣幕 阅读(25) 评论(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 绣幕 阅读(32) 评论(0) 推荐(0)
摘要: 打通ssh https://www.cnblogs.com/yolanda-lee/p/4975453.html 阅读全文
posted @ 2021-09-24 23:16 绣幕 阅读(9) 评论(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 绣幕 阅读(368) 评论(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 绣幕 阅读(38) 评论(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 绣幕 阅读(71) 评论(0) 推荐(0)
摘要: python manage.py inspectdb > [your app name]\models.py 执行后 model.py乱码,将models.py以 UTF-16LE打开。 阅读全文
posted @ 2021-08-07 17:35 绣幕 阅读(214) 评论(0) 推荐(0)
摘要: 对象的引用 使用**只是拷贝了字典的最外层,加个deepcopy可以实现深拷贝,递归的去复制对象 bug来源: 在一次将数据库里的数据转成json格式过程中,在遍历数据库对象时,对象的引用不当,导致最后的数据全被遍历的最后一个对象覆盖。 阅读全文
posted @ 2021-08-07 16:29 绣幕 阅读(27) 评论(0) 推荐(0)