Posts
Publishing Local Services to the Public Network with frp
· β˜• 2 min read
1. What frp Is frp is a high-performance reverse proxy application. It provides: Using a machine behind a private network or firewall to expose http or https services to the external network For http and https services, it supports domain-based virtual hosts and custom domain binding, so multiple domains can

Development Tools and Productivity Tips
· β˜• 5 min read
Compiled from the “Development Tips” series, collecting common development tools and productivity-related techniques. 1. The Babel Transpiler ES6 provides many new features, but not every browser supports them perfectly, while ES5 support is far better. Babel is an ES6 transpiler that converts ES6 code into ES5 code. This means you

Troubleshooting and Resolving Celery Failures on Large Files
· β˜• 3 min read
1. A Small Requirement We run into small requirements all the time, but they are not always simple to implement. Here is a simple file upload requirement, broken into the following steps: The user uploads a large file on the page The large file is temporarily stored in the internal

A Few Things to Do After Installing CentOS
· β˜• 2 min read
1. Replacing the Repository Mirror First, back up the official repository. 1 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup Download the new repository to /etc/yum.repos.d/ CentOS 5 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo CentOS 6 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo CentOS 7 1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo Generate the metadata cache. 1 yum makecache 2. Accessing NTFS File Systems The Linux kernel currently only supports reading Microsoft’s NTFS file system.

Writing Python2 and Python3 Compatible Code
· β˜• 2 min read
Python2 to Python3 is a major version update. Today, a large number of projects in production still run on Python2. But that does not mean those projects will stay on Python2 forever β€” developers also need to consider the project’s compatibility with Python3, both to make migration easier and as