MacOS Catalina Alfred出现相同的apps

今天更新完MacOS Catalina后,alfred运行应用程序时,同一个app出现在不同两个目录“/System/Volumes/Data/Applications” 和 “/Applications”


在 alfred中输入reload 即可。

MacOS Catalina – Why the apps in “/System/Volumes/Data/Applications” and “/Applications” are the same?

When I use MacOS Catalina (Public Beta) with Alfred 4, I find that all the Applications installed via Mac App Store or brew cask are duplicated in the candidate list.

Any application in the "/System/Volumes/Data/Applications" will be mirrored" in "/Applications".

Does it work as design?

Type reload into Alfred. This will refresh the app cache for any apps that may no longer exist in the old location. Reference:


今天通过终端命令(ls -l)在用户目录下发现了以nodePipe开头的.sock文件。但在Finder下并看不到。

➜  ~ # ls -l | grep nodePipe
srwxr-xr-x   1 frank  staff     0B  3  1  2019 nodePipe16048.sock
srwxr-xr-x   1 frank  staff     0B  3 11  2019 nodePipe41391.sock
srwxr-xr-x   1 frank  staff     0B  6 24 17:16 nodePipe45897.sock
srwxr-xr-x   1 frank  staff     0B  6 24 17:26 nodePipe46084.sock
srwxr-xr-x   1 frank  staff     0B  6 26 14:29 nodePipe62602.sock
srwxr-xr-x   1 frank  staff     0B  6 26 14:30 nodePipe63062.sock
srwxr-xr-x   1 frank  staff     0B  3  1  2019 nodePipe68561.sock
srwxr-xr-x   1 frank  staff     0B  3  1  2019 nodePipe68655.sock
srwxr-xr-x   1 frank  staff     0B  3  1  2019 nodePipe717.sock


It is safe to remove it.

I encountered the same problem and did a little research. I believe this is somehow related to the problem described in this page.

Your username suggests that you are a Chinese developer as I am, and it is very likely that you used the wechatdevtools (offered by the Chinese tech company Tencent) to develop WeChat mini-programs.

Turns out the problem is probably caused by using the wechatwebdevtools app on linux/macOS and debugging a WeChat mini-program. Every time the node module is run by the wechatwebdevtools, it creates a nodePipe${parentPid}.sock file in the Unix home directory. In most cases, these files should be deleted automatically, but not always.

Hence I believe it is safe to manually delete these files.

MacOS + PhpStorm + Xdebug 调试

前面先简单记录一下我解决问题的过程,正常的步骤请往下翻;事情的起因是:我想让PhpStorm能像Java开发工具那样在代码中断点调试,目前我了解到的解决方案有两种:XdebugZend Debug,而我选择了Xdebug。 继续阅读 “MacOS + PhpStorm + Xdebug 调试”


Vim,是从vi发展出来的一个文本编辑器,终端下文本编辑利器。vim缺乏默认插件管理,在使用插件时,插件文件散布在~/.vim目录下,插件管理非常麻烦,很容易出错。今天就来介绍一款vim插件管理器:Vundle。 继续阅读 “Mac系统vim使用Vundle管理插件”


iTerm2,是目前Mac平台最好用,功能最强大的终端软件,可以说是Mac系统下终端利器。Mac系统默认使用的终端为bashzsh被喻为“终极Shell”,让其发挥强大功能,置过于复杂,而 oh-my-zsh 正是解决这一问题。本文将整理iTerm2+oh-my-zsh的配置和常用插件。 继续阅读 “Mac系统iTerm2+oh-my-zsh配置及常用插件”

Intellij IDEA 自动生成 serialVersionUID

Java的序列化机制是通过在运行时判断类的serialVersionUID来验证版本一致性的。在进行反序列化时,JVM会把传来 的字节流中的serialVersionUID与本地相应实体(类)的serialVersionUID进行比较,如果相同就认为是一致的,可以进行反序 列化,否则就会出现序列化版本不一致的异常。 继续阅读 “Intellij IDEA 自动生成 serialVersionUID”

利用SQL Server触发器实现表的历史修改痕迹记录


本文以SQL Server 2005数据库中的触发器为例(因为手中的项目用的就是这个数据库)
继续阅读 “利用SQL Server触发器实现表的历史修改痕迹记录”