This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install WP-Mail-SMTP Plugins | |
2. Setup WP-Mail-SMTP | |
3. Update google account security level. 强制允许所有用户访问安全性较低的应用(不推荐) | |
(https://admin.google.com/AdminHome?pli=1&fral=1#ServiceSettings/notab=1&service=securitysetting&subtab=lesssecureappsaccess) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install WP-Mail-SMTP Plugins | |
2. Setup WP-Mail-SMTP | |
3. Update google account security level. | |
(https://admin.google.com/AdminHome?pli=1&fral=1#ServiceSettings/notab=1&service=securitysetting&subtab=lesssecureappsaccess) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install WP-Mail-SMTP Plugins | |
2. Setup WP-Mail-SMTP | |
3. Update google account security level. | |
(https://admin.google.com/AdminHome?pli=1&fral=1#ServiceSettings/notab=1&service=securitysetting&subtab=lesssecureappsaccess) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.digitalocean.com/community/tutorials/how-to-protect-wordpress-from-xml-rpc-attacks-on-ubuntu-14-04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.luciancancescu.com/blog/2015/03/how-to-integrate-fontawesome-in-your-ios-project/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装ubuntu 中文字体 : https://wiki.ubuntu.com.cn/%E5%AD%97%E4%BD%93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.routes.rb | |
root to: 'application#redirect_to_home_index' | |
get '/:locale', to: "home#index", as: 'home' | |
2. application_controller.rb | |
def redirect_to_home_index | |
redirect_to home_path | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Block IP addresses | |
Using iptables | |
Most system administrators will already be familiar with iptables. It is around for quite a while, and by default enabled within the Linux kernel. Within this article we are going to configure iptables to block one or multiple IP addresses. This may come in handy when you get repeating port scans, or see failed login attempts in your log files. | |
Check existing iptables configuration | |
First step is to validate existing rules. | |
iptables -L | |
Manually blocking a single IP address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://josephndungu.com/tutorials/gmail-like-chat-application-in-ruby-on-rails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.digitalocean.com/community/tutorials/how-to-optimize-apache-web-server-performance | |
https://www.digitalocean.com/community/questions/apache-2-4-with-php5-fpm |