mac canalina

没有 telnet

1
brew install telnet

不行,再尝试

1
2
3
xcode-select --install
brew tap theeternalsw0rd/telnet
brew install telnet

星球大战

1
towel.blinkenlights.nl

或者

1
nc towel.blinkenlights.nl 23

mac apache folder

/etc/apache2

homebrew

报错。需要 chown /usr/local 然后报错 不能完成

1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

mac install pip

1
2
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py

via https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py

sudo pip install requests

or

sudo pip3 install requests

升级

sudo pip3 install –upgrade pip