Zsh Startup Acceleration

Zsh is already the default shell of macOS Catalina. As we configure more and more plugins for zsh, the startup speed of zsh becomes slower and slower. This article will introduce how to measure and optimize the startup speed of Zsh.

Read More

Writing an Alfred Workflow About VPN Connection

Part of the team’s services is deployed on the internal network. Usually, when we are remotely processing some work, we need to connect to the VPN.
Although Cisco’s AnyConnect client tool can be used, it cannot save passwords for automatic login, so the OpenConnect becomes a good choice, which is an open-source command-line tool.
This article is based on the macOS platform, using Alfred’s Workflow feature to improve the portability of OpenConnect connections.

Read More

Get the Current Public IP Address

I saw someone sharing an open source Py library to get the current IP on v2ex, Which remind me that the proxy crawler I wrote before was verified by Taobao’s API. There are concurrency restrictions, and maybe I can change it to a better way.

Read More