Categories

107 pages

Computer

Blog IDE Environment and Ramblings

This article introduces the basic concepts of Markdown and its applications in various software, recommends using VSCode as an IDE, and lists recommended plugins. The author shares their experience switching from Hexo to Hugo, emphasizing Hugo’s flexibility and customization capabilities. Finally, it provides some suggestions for quickly getting started with new technologies and shares a trick for resolving the issue of Hugo theme styles not updating.

Automatic System Switchover

Use GitHub Actions to automatically deploy your Hugo blog to GitHub Pages and Gitee. Background Introduction Yesterday while updating the blog, I discovered that the travis service was unavailable. Upon checking the travis webpage, I noticed the progress was stuck during source code retrieval, and a flash of insight occurred – I thought about GitHub’s previously launched action service. Due to being busy

Standard Library Container Memory Allocators: allocator

A custom allocator can improve performance, increase memory utilization efficiency, and address the issue of frequent, small memory allocations. Antecedent Recently, I’ve been working on the development of network data packets, requiring frequent allocation and release of small blocks of memory. Initially, I considered using a memory pool, reviewing several existing ones and discovering this: https://github.com/cacay/MemoryPool When looking at the interface, I was quite puzzled by how the memory pool’s implementation was a bit strange.