Thunderbird自定义Header和Useragent, X-Mailer

必须设置Useragent为空,然后添加header和X-Mailer

user_pref(“general.useragent.override”, “”);
user_pref(“mail.identity.id3.headers”, “xmailer”);
user_pref(“mail.identity.id3.header.xmailer”, “X-Mailer:Microsoft Outlook 16.0”);

如果只修改Useragent

user_pref(“general.useragent.override”, “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Thunderbird/50.0”);

LUG revproxy 各资源的对应关系

registry-1.docker.io docker.mirrors.ustc.edu.cn
packages.elastic.co elastic.proxy.ustclug.org
ppa.launchpad.net launchpad.proxy.ustclug.org
archive.cloudera.com/cdh5/ cloudera.proxy.ustclug.org/cdh5/
downloads.lede-project.org lede.proxy.ustclug.org
downloads.openwrt.org openwrt.proxy.ustclug.org
registry.npmjs.org npmreg.proxy.ustclug.org
www.npmjs.com npm.proxy.ustclug.org
fonts.gstatic.com fonts-gstatic.proxy.ustclug.org
fonts.googleapis.com fonts.proxy.ustclug.org
ajax.googleapis.com ajax.proxy.ustclug.org
themes.googleusercontent.com google-themes.proxy.ustclug.org
secure.gravatar.com gravatar.proxy.ustclug.org

一键脚本安装Fail2ban

安装:

wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh
bash fail2ban.sh

卸载:

wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/uninstall.sh
bash uninstall.sh

原文:https://www.ixh.me/2016/12/fail2ban-onekey/

一键安装 sshkey

使用

Github操作

1.打开项目地址:

https://github.com/KiritoMiao/SSHKEY_Installer

2.fork这个项目

3.进入

https://github.com/[你的Github用户名]/SSHKEY_Installer/edit/master/key.sh

4.编辑第十行,将

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyjhmEbiU469K3lA/oUc4UK+hDkyO9B+twdlpzTe6K5hYDJbrf0XxDe5z9mlmhvbQaDOSJj185hffR3hFk1VxHU4tRHZaCxDmrOA+PLfRX0P9H2fziYPuy/AsgwZAT+vK3JGNGJm+2+WJtH8POwn1q2f4uzsNAgIAueOgyUojHSvXgrbrJ3ehMqt89Gkz4spr8DxGpMGelPqqQ8Z2aCigbt10CpoC6KYTka8TphiwYNjyKzYOc+eEeYwrve7w3RSIA8D83a1RNC7j7ueONU5AmGVQz0r7LSskdJB40CcejkWx0VT0yTaj+hsZB7wsGETwYEIVD0SPMeQe05HAiEMkN

修改为自己的Key

服务器操作

wget https://raw.githubusercontent.com/[你的Github用户名]/SSHKEY_Installer/master/key.sh
bash key.sh

原文:https://www.ixh.me/2017/07/sshkey-installer/