上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 46 下一页
摘要: 参考: https://blog.csdn.net/single6/article/details/81176213 我使用sync命令效果明显. 阅读全文
posted @ 2022-03-01 17:41 那时一个人 阅读(118) 评论(0) 推荐(0)
摘要: netstat -nat | grep -iw "80" | wc -l 阅读全文
posted @ 2022-03-01 15:14 那时一个人 阅读(303) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/hzw2312/article/details/106078150 https://blog.csdn.net/lwq657359703/article/details/120559944 要点: # 下载mc wget https://dl.mi 阅读全文
posted @ 2022-03-01 11:55 那时一个人 阅读(875) 评论(0) 推荐(0)
摘要: 题目: 三个瓶子12L,7L,5L,其中12L水装满,另外两个瓶子为空,问怎样在5L瓶子中获取4L水,水不能丢弃,即三个瓶子中的水加总要等于12 答案: 阅读全文
posted @ 2022-02-28 16:22 那时一个人 阅读(91) 评论(0) 推荐(0)
摘要: 指定服务器, 定时执行 https://cloud.tencent.com/developer/article/1185186 http://wzktravel.github.io/2016/08/23/How-to-pass-in-password-to-pg-dump/ 配置.pg_pass 就 阅读全文
posted @ 2022-02-22 17:56 那时一个人 阅读(90) 评论(0) 推荐(0)
摘要: 参考: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4957 https://stackoverflow.com/questions/16526783/python-subprocess-too-many-open-files 阅读全文
posted @ 2022-02-21 15:41 那时一个人 阅读(170) 评论(0) 推荐(0)
摘要: 改动的源码: # odoo\addons\web\controllers\main.py # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import 阅读全文
posted @ 2022-02-18 19:42 那时一个人 阅读(356) 评论(0) 推荐(0)
摘要: 在配置fail2ban的时候遇到很多坑,现在记录下 先参考一篇博客的教程: https://atjason.com/IT/ss_fail2ban.html 可以使用echo命令来模拟日志的写入,不需要搭建日志服务 echo '2016-07-17 18:05:03 ERROR can not par 阅读全文
posted @ 2022-02-18 15:52 那时一个人 阅读(292) 评论(0) 推荐(0)
摘要: 源码: 如果用户多次登录错误, 则登录IP会被封一段时间 def _on_login_cooldown(self, failures, previous): """ Decides whether the user trying to log in is currently "on cooldown 阅读全文
posted @ 2022-02-15 16:08 那时一个人 阅读(358) 评论(0) 推荐(0)
摘要: 参考 https://blog.csdn.net/qq_35620501/article/details/95047642 重点: nginx 的ip_hash session 存储到redis中. 阅读全文
posted @ 2022-01-13 13:47 那时一个人 阅读(262) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 46 下一页