每日一折腾

真看得起我

真看得起我

Laravel – Google 2Factor Auth

Reference: https://www.sitepoint.com/2fa-in-laravel-with-google-authenticator-get-secure/

Activated Two Factor Auth

来呀,互相伤害呀!

Remove Redundant Rows in a Cell

In the replace field, input Alt+10.

Restore Real IP in Nginx Reverse Proxy

Compile Nginx with real ip module. The origin server will then be able to get the real ip address from...

IP Address CIDR Chart

IP Address CIDR Chart

10.0.0.1-10.0.0.255: 10.0.0.0/24 10.0.0.1-10.0.255.255: 10.0.0.0/16 10.0.0.1-10.255.255.255: 10.0.0.0/8

Fix /usr/bin/env: ‘php’: No such file or directory

Add a soft link to /usr/local/bin/php should solve the problem.

Configure AWS for Pureftpd

The ftp account is correct, but failed to get directory list: “Could not retrieve directory listing”. Strange, isn’t it? At...

Laravel5: Securing Files on AWS S3

Spent the whole afternoon searching for answers to secure files on AWS S3. Here is how I solve it: Upload the...

Linux 解压命令

Linux 解压命令

解压 tar.xz: