Posts
How to Migrate a Blog from Ghost to Hexo
· β˜• 3 min read
1. Introduction to Hexo Hexo is a concise, efficient, open-source static blog generator built with Node.js. Hexo can render Markdown into static HTML files extremely quickly. Like Jekyll, Ghost, and Octopress, it can be used to create a blog. Hexo has the following advantages: It uses Node.js, so setting up the environment is simple.

API Interface Specification
· β˜• 2 min read
In the process of Web application development, backend developers need to deliver API interfaces frequently, and frontend developers need to call API interfaces frequently. To lower communication costs and prevent possible security risks, and following the principle of convention over configuration, it is necessary to standardize the API specification. Restful

Frontend Webpack Practice of GitLab CI
· β˜• 4 min read
Starting with GitLab 8.0, GitLab began integrating CI (Continuous Integration) functionality. You only need to add a Runner on the server and a .gitlab-ci.yml file in the project, and you can run CI. In GitLab Setup and Configuration I recorded the whole process of setting up a GitLab service from

Error Code Design and Unified Exception Handling in Django
· β˜• 6 min read
I currently use Django for SaaS development, and I develop and maintain several SaaS applications at the same time. Many SaaS applications have agreed-upon error codes, some used to handle login state, others to mark business logic status. For a feature that is so strongly shared across projects, it is

How to Learn a New Programming Language: Taking Python as an Example
· β˜• 3 min read
1. Understand the Background of the New Language ABC was a teaching language designed specifically for non-professional programmers, but because it was closed, it did not succeed. During Christmas 1989, Guido van Rossum developed a new script interpreter and named it Python, as a kind of successor to the ABC