Dockerize Your Dotfiles

Introduction If you are like me and prefer to develop in a complete TUI environment with neovim, you may encounter a situation where you need to reconfigure your development environment every time you face a new OS. You may need to install packages, copy dotfiles and do some other stuffs over and over again, which is really annoying. Docker, which can provide OS-level virtualization, may be able to provide a solution to this problem.

Don't Use Homebrew

What? Yes exactly, you should never use it. I know this might shock you, but please let me explain. There are two very serious design flaws in homebrew, which may put your mac in danger. The directory permission Homebrew doesn’t need sudo to perform actions, which has been regarded as a big advantage over other package managers. Yes, it’s more convenient, however the way homebrew implements this feature is simply to change the ownership of the directory of $(brew --prefix) to the user who installed homebrew.

介绍 Whoogle 搜索引擎

中文搜索引擎 现在百度的搜索结果充斥着百度文库、百度知道、百家号、CSDN 等垃圾,包括我在内的很多人都在尝试找一个中文搜索引擎的替代品。 360 和搜

Create Personal Arch Linux Package Repository via GitHub Pages

About For whatever reasons, you may want to create your own package repository, like this: In this article, I’m going to record my steps to create my own arch linux package repository, via github pages, no need to maintain your server. Build signed packages Create your gpg key When you installed a package from AUR, you generally cloned a repo that contains a PKGBUILD file, then you executed makepkg to build this package.