今天用homebrew安装openresty,发现一个奇怪的问题,安装时需要下载一个文件, https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.1f-sess_set_get_cb_yield.patch 然后就报错退出:
curl:...
更新Homebrew
要获取最新的包的列表,首先得更新 Homebrew 自己。这可以用 brew update 办到。
brew update
更新包(formula)
要获取最新的包的列表
brew outdated
更新需要更新的包
brew upgrade # 更新所有的包
brew u...
代码如下:
var targetNode = document.getElementById('some-id');
// Options for the observer (which mutations to observe)
var config = { attributes: true, childList: true };
// C...