This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist | |
| sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist | |
| sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz | |
| sudo pkgutil --forget org.macosforge.xquartz.pkg | |
| rm -rf ~/.serverauth* ~/.Xauthorit* ~/.cache ~/.rnd ~/Library/Caches/org.macosforge.xquartz.X11 ~/Library/Logs/X11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Return a list of all class names derived from this class. | |
| * | |
| * This function is not caching the result on purpose: derived classes would | |
| * share the same static variable and classes defined after this function | |
| * was once called wouldn't show up. | |
| * Implement a caching mechanism yourself if you think you need it. | |
| * @return array | |
| */ | |
| private static function _derivedClasses() { |