12 2020 档案

摘要:下载 url 为 https://www.mongodb.com/try/download/community 选择 MongoDB Enterprise Server centos 版本 tgz wget https://fastdl.mongodb.org/linux/mongodb-linux 阅读全文
posted @ 2020-12-27 19:20 AngDH 阅读(159) 评论(0) 推荐(0) 编辑
摘要:https://github.com/smallnewer/bugs/issues/11 db.集合名字.update({name:"xxx"}, { $set:{'is_true':NumberInt(0)} } ); 阅读全文
posted @ 2020-12-23 18:29 AngDH 阅读(167) 评论(0) 推荐(0) 编辑
摘要:db.集合名.ensureIndex({字段a:1,字段b:1,字段c:1},{unique:true});字段不需要加引号 , 1代表升序 阅读全文
posted @ 2020-12-23 15:53 AngDH 阅读(2294) 评论(0) 推荐(0) 编辑
摘要:http://httpbin.org/ip linux 下 curl http://httpbin.org/ip # 代理测试 curl -x http://admin:123456@171.41.85.191:8123 http://httpbin.org/ip 阅读全文
posted @ 2020-12-22 16:30 AngDH 阅读(778) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/mysticbinary/p/11692909.html 阅读全文
posted @ 2020-12-19 15:13 AngDH 阅读(150) 评论(0) 推荐(0) 编辑
摘要:reproduce https://stackoverflow.com/questions/53434555/python-requests-enable-cookies-javascript from math import cos, pi, floor import requests URL = 阅读全文
posted @ 2020-12-16 10:18 AngDH 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-12-03 22:20 AngDH 阅读(50) 评论(0) 推荐(0) 编辑
摘要:uwsgi centos python3 flask 部署 1. 添加一个用户 新增用户 adduser python3 修改密码 passwd python3 添加到sudo用户组 gpasswd -a python3 wheel 切换到python3 用户 sudo -iu python3 注意 阅读全文
posted @ 2020-12-03 20:01 AngDH 阅读(352) 评论(0) 推荐(0) 编辑
摘要:转载 https://stackoverflow.com/questions/12677246/twisted-adbapi-cp-reconnect-not-working/35178822重写adbapi.ConnectionPool class ReconnectingMySQLConnect 阅读全文
posted @ 2020-12-01 23:21 AngDH 阅读(403) 评论(0) 推荐(0) 编辑

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