03 2020 档案

摘要:在linux下可以新建一个名为run.sh的脚本: #!/bin/sh while [ 1 ]; do python program.py --params done 在命令行中这样启动: sh run.sh 阅读全文
posted @ 2020-03-27 11:12 AngDH 阅读(1427) 评论(0) 推荐(0) 编辑
摘要:scrapyd 安装 https://cuiqingcai.com/5445.html 安装scrapyd https://www.cnblogs.com/angdh/p/11886519.html docker 环境 安装 scrapyd https://www.cnblogs.com/angdh 阅读全文
posted @ 2020-03-25 23:14 AngDH 阅读(928) 评论(0) 推荐(0) 编辑
摘要:Debian / Ubuntu 包安装 Node.js 最新版本 https://www.jianshu.com/p/dbf221b5454e 阅读全文
posted @ 2020-03-21 15:45 AngDH 阅读(109) 评论(0) 推荐(0) 编辑
摘要:use information_schema; -- 查看 各库 占用 大小 select TABLE_SCHEMA, concat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size, concat(truncate(sum(ind 阅读全文
posted @ 2020-03-21 11:39 AngDH 阅读(1623) 评论(0) 推荐(0) 编辑
摘要:https://cuiqingcai.com/3443.html www.yunlifang.cn 云立方购买的服务器 不需要 配置 拨号 ,直接使用命令拨号 云立方 使用 adsl-start 拨号 adsl-stop 停止 下面不是云立方使用 pppoe-start 拨号 pppoe-stop 阅读全文
posted @ 2020-03-12 20:10 AngDH 阅读(543) 评论(0) 推荐(0) 编辑
摘要:apk update \ && apk add tzdata \ && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone————————————————版权声明: 阅读全文
posted @ 2020-03-11 20:31 AngDH 阅读(1461) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/kxwinxp/article/details/78578492 这就不用多解释了,一装系统就应该修改的操作。因为官方源在国外。 0.开启网络连接对于新装的CentOS,默认是没有开启网络连接的,所以你看不到IP地址。 // 查看有线网设备ip addre 阅读全文
posted @ 2020-03-10 22:18 AngDH 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-10 18:16 AngDH 阅读(91) 评论(0) 推荐(0) 编辑
摘要:恢复内容开始 恢复内容开始 sudo api update 阅读全文
posted @ 2020-03-09 20:53 AngDH 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-09 20:40 AngDH 阅读(285) 评论(0) 推荐(0) 编辑
摘要:https://segmentfault.com/q/1010000010805727?sort=created 阅读全文
posted @ 2020-03-09 15:00 AngDH 阅读(235) 评论(0) 推荐(0) 编辑
摘要:logger = logging.getLogger(__name__)加入这句话可以把类名加入打印 阅读全文
posted @ 2020-03-09 08:26 AngDH 阅读(216) 评论(0) 推荐(0) 编辑
摘要:1.用pycharm 创建Django 项目 hello_django 2.新建views.py 文件 写入 方法 def index_view(request): return HttpResponse('hello world') 3.在 urls 中 加入 path('hello/', vie 阅读全文
posted @ 2020-03-08 21:27 AngDH 阅读(128) 评论(0) 推荐(0) 编辑
摘要:split -a 2 -l 10000 app.log child https://www.cnblogs.com/andong2015/p/11008778.html 阅读全文
posted @ 2020-03-04 09:38 AngDH 阅读(210) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/wanself/p/3179631.html 阅读全文
posted @ 2020-03-03 14:37 AngDH 阅读(265) 评论(0) 推荐(0) 编辑
摘要:startapp 配置数据库 下载mysql 驱动 生成默认数据库表 阅读全文
posted @ 2020-03-03 00:16 AngDH 阅读(89) 评论(0) 推荐(0) 编辑
摘要:#python3def get_md5(s): if isinstance(s,str): s = s.encode("utf-8") m = hashlib.md5() m.update(s) return m.hexdigest() 阅读全文
posted @ 2020-03-02 21:11 AngDH 阅读(270) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示