Originally published as GitHub issue #62.
2019.10.10
- 虚拟环境 激活 source bin/activate 反激活 deactivate
Comments
yihong0618
View comment · 2019-10-10T09:37:43Z
python 版本不同在 pip 上会有很多问题 , 在公司开发一定关注python版本
yihong0618
View comment · 2019-10-11T02:48:03Z
django 启动 —settings=a.b.c
yihong0618
View comment · 2019-10-18T07:40:16Z
csv 写文件避免空行 open(csv_file_path + os.sep + csv_name, “w”, newline="")
yihong0618
View comment · 2019-10-24T07:35:00Z
windows docker 双斜杠
docker run -d —name myredis -p6379:6379 -v //c/dockerdata/redis/data:/data de25a81a5a0b —appendonly yes
yihong0618
View comment · 2019-11-06T01:54:38Z
Win10内置Ubuntu,完美使用Docker in Windows
yihong0618
View comment · 2019-11-06T01:55:03Z
yihong0618
View comment · 2019-11-14T06:02:25Z
git ls-remote ~~~~.git列举所有远程分支
yihong0618
View comment · 2019-11-14T06:22:03Z
if [[ ” ${array[@]} ” =~ ” ${value} ” ]]; then # whatever you want to do when arr contains value fi
if [[ ! ” ${array[@]} ” =~ ” ${value} ” ]]; then # whatever you want to do when arr doesn’t contain value fi
yihong0618
View comment · 2020-04-29T02:19:43Z
django 启动线程的话,会有连接不关闭的现象 https://zkkmin.com/2018/05/11/database-connection-leak-while-using-threads-in-django/