macos snippets
"netstat | grep LISTEN" for MacOS
Add this alias to your shell to get the equivalent output of running “netstat | grep LISTEN” on Linux:
alias netstat-listen='lsof -iTCP -sTCP:LISTEN'
How to install scryer-prolog on MacOS
$ brew install rust
$ cargo install scryer-prolog