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