摘要: git config --global user.name aa git config --global user.email aa@xx.com git config --global user.pawword 88888 git config --global credential.helper 阅读全文
posted @ 2020-11-16 20:06 yuzhen0228 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1.https://github.com/geeeeeeeeek/electronic-wechat 滑到最下面 2.点击 Download Released App 3.找到自己相应的系统 安装包 下载 4.解压 tar -zxvf linux-x64.tar.gz 5. 解压的文件夹下 有一个叫 阅读全文
posted @ 2020-08-03 18:29 yuzhen0228 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 1 from PIL import Image # 安装 见https://www.cnblogs.com/yuzhen0228/p/13330536.html 2 3 ascii_char = list("$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1 阅读全文
posted @ 2020-07-17 16:00 yuzhen0228 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 本人也是个小萌新 安装过程也是曲折 现附上我的安装过程 1.百度教的 sudo apt-get install python-imaging sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev 2.发现报 阅读全文
posted @ 2020-07-17 15:54 yuzhen0228 阅读(2073) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://cncv.oss-cn-hangzhou.aliyuncs.com/software/dd_for_ubuntu.zip 解压后: cd dingding/ sudo dpkg -i dingding.deb 报错: sudo apt-get update sudo apt 阅读全文
posted @ 2019-12-10 14:02 yuzhen0228 阅读(8005) 评论(0) 推荐(0) 编辑
摘要: settings.py from corsheaders.middleware import CorsMiddleware INSTALLED_APPS = [ ... 'corsheaders', ... ] MIDDLEWARE = [ ... 'django.middleware.clickj 阅读全文
posted @ 2019-12-10 12:14 yuzhen0228 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 1.settings.py MIDDLEWARE 新增中间件 'middleware_log.RequestLogMiddleware' MIDDLEWARE = [ ... 'middleware_log.RequestLogMiddleware' ] 2.settings.py配置 LOGGIN 阅读全文
posted @ 2019-12-10 12:09 yuzhen0228 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: var str="<>"; str=str.replace(/\'/g,"’");//替换半角单引号为全角单引号 str=str.replace(/\"/g,"”");//替换半角双引号为全角双引号 str=str.replace(/</g,"《").replace(/>/g,"》"); 阅读全文
posted @ 2019-12-10 12:04 yuzhen0228 阅读(775) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lupengCSDN/article/details/80279177 阅读全文
posted @ 2019-12-10 11:56 yuzhen0228 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Upstream directives upstream 定义一组上游服务器; name 1 server 定义服务器的地址和其他参数; address [parameters], 示例 10.64.11:8080 weight=1; 2 hash 指定服务器组的负载平衡方法,其中客户端 服务器映射 阅读全文
posted @ 2019-08-08 17:22 yuzhen0228 阅读(911) 评论(0) 推荐(0) 编辑