change xcrun developer path for Android Studio/IntelliJ

I ran into the same problem, however with svn. I found that by installing El Capitan, Xcode was “uninstalled”. I reinstalled Xcode from the App Store and then reinstalled Xcode Command Line Tools via Terminal with xcode-select –install After installation, my /Library/Developer/CommandLineTools/usr/bin directory reappeared and svn started working again.

Is there a workaround for: “dtrace cannot control executables signed with restricted entitlements”?

Following up to Alexander Ushakov and Charles’ answers: Once you csrutil enable –without dtrace, there is an alternative to copying the binary: run the binary in one Terminal window and trace the Terminal process itself in another Terminal window. In the first terminal window, find its PID: $ echo $$ 1154 In the second terminal … Read more

How to auto-load MySQL on startup on OS X Yosemite / El Capitan

This is what fixed it: First, create a new file: /Library/LaunchDaemons/com.mysql.mysql.plist <?xml version=”1.0″ encoding=”UTF-8″?> <plist version=”1.0″> <dict> <key>KeepAlive</key> <true /> <key>Label</key> <string>com.mysql.mysqld</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql/bin/mysqld_safe</string> <string>–user=mysql</string> </array> </dict> </plist> Then update permissions and add it to launchctl: sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist

Autostart MySQL Server on Mac OS X Yosemite/El Capitan

@dcc was very close. This is how MySQL autostarts again on Yosemite: The com.mysql.mysql.plist in /Library/LaunchDaemons: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>com.mysql.mysqld</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql/bin/mysqld_safe</string> <string>–user=mysql</string> </array> </dict> </plist> Additionally I’ve changed the permissions based on this answer sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist sudo chmod … Read more

`Apache` `localhost/~username/` not working

Looks like you need to uncomment the following: #LoadModule userdir_module libexec/apache2/mod_userdir.so and #Include /private/etc/apache2/extra/httpd-userdir.conf Then in httpd-userdir.conf you may need to uncomment: #Include /private/etc/apache2/users/*.conf Lastly you would need to create /private/etc/apache2/users/kevin.conf if it doesn’t exist. I think it should look something like this: <Directory “/Users/kevin/Sites/”> Options Indexes MultiViews AllowOverride None Require all granted </Directory> Make … Read more

OSX El Capitan: sudo pip install OSError: [Errno: 1] Operation not permitted

Instructions telling people to use sudo pip install are inherently wrong. If there is any tutorial out there which says you should use sudo pip then please file a bug against this package. The author is dis-educating the Python community, as time has proven sudo pip to be a broken practice. OSX El Capitan introduced … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)