Install OpenCV on macOS with Homebrew

I've been working with camera videos using OpenCV recently. On Linux, installing OpenCV can be quite cumbersome because it needs to be manually compiled. However, Homebrew makes everything easy on ...

- READ MORE -

Visualize web log with GoAccess

GoAccess is an open-source web log analyzer and interactive viewer that runs in a terminal or through your browser. It provides fast and valuable HTTP statistics for system administrators that requ...

- READ MORE -

Build a mail server with docker-mailserver

docker-mailserver is a production-ready fullstack but simple mail server that runs inside a container. Building a mail server is quite complicated, and for a beginner, it may be unclear how to star...

- READ MORE -

Enable TLS communication between frps and frpc

In this article I introduced how to use frp to establish an SSH connection to a local server. In fact, services running on a local server also can be exposed to the internet via frp's TCP forwardin...

- READ MORE -

Use aria2+AriaNg as download service

Aria2 is a lightweight and powerful download utility. However, since aria2 is operated using command, it is slightly difficult for the normal user. Therefore, typically I use AriaNg as the web fron...

- READ MORE -

Pylr - A simple audio/video plugin for Typecho

As Typecho does not support audio and video, playing them on Typecho pages requires a plugin. However, most plugins obtain audio resources from playlists on Netease Cloud or QQ Music, which means t...

- READ MORE -

Issue a wildcard cert using acme.sh

In a previous article I introduced how to issue an SSL cert for a single subdomain using acme. If there are several services running on a server (e.g., cloud storage, blog, chatroom), and each serv...

- READ MORE -

Enable swap partition on Linux

If a server has RAM less than 1 GB or uses resource heavy services, it would be a good idea to enable swap space as the RAM may be exhausted here. This article records how I enable Swap on Linux.

- READ MORE -