-
Notifications
You must be signed in to change notification settings - Fork 2
macOS
Wenliang Zhang edited this page Jul 17, 2020
·
8 revisions
Get the list.
$ launchctl list | grep adobe
To disable it.
$ launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
To enable it.
$ launchctl load -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
Where is the command?
$ whereis pwpolicy /usr/bin/pwpolicy
Wanna reset it?
$ sudo pwpolicy -clearaccountpolicies
Install VNC for Ubuntu etc. and start it. Finder -> CMD + K, launch remote desktop client with vnc://ip:port.
Visit Microsoft to download the latest version.
$ brew install corkscrew
Edit ~/.ssh/config, and add in Github’s section:
ProxyCommand /usr/local/bin/corkscrew proxy-server-ip port %h %p
Brew install gcc, then codesign gdb. The last step is error-prone, read the reference carefully. The latest reference is https://sourceware.org/gdb/wiki/PermissionsDarwin.
$ brew install gdb
Even if the installation and codesign of gdb are passed, there may still be some unexpected failures. The latest try is gdb 8.2.x does not work, while gdb 8.0.1 works. gdb 8.3 works.
Use LLDB instead. Never go back to gdb on macOS.
Created by Wenliang Zhang.