How to Stop Developer Tools Prompting For Password

After updating to macOS Mojave, I started getting a prompt for a user name and password everytime I debugged golang in GoLand. This was frustrating but I was able to stop it from prompting by running this command in my terminal:

sudo /usr/sbin/DevToolsSecurity --enable

Once I ran this command, I stopped seeing the prompt for “Developer tools access needs to take control of another process for debugging to continue. Type your password to allow this.”

Hopefully, this works for you!

VMware Fusion Ctrl Click Issues

The default configuration for running windows inside of VMware Fusion on a mac is to have ctrl + left click act as a right click. This can cause issues when trying to select multiple files etc. Fortunately, this setting is easily disabled in the Keyboard and Mouse settings for the virtual machine.

  1. Go to settings
  2. Go to Keyboard & Mouse settings.
  3. Edit the Windows 10 profile
  4. Uncheck the option for Secondary Button
  5. Save and exit

This simple fix will save you a lot of frustration. Hope it help!

 

How to Mass Unfollow on Twitter

Have you ever wanted to remove some of your followers on twitter? Twitter does not provide a native way to do this, but you can automate it in your browsers developer console.

Steps:

  1. Login to your Twitter account and go to your follower’s page (https://twitter.com/following)
  2. Open developer tools in your Chrome browser CMD+Option+C (Mac) or Control+Shift+C (Windows, Linux, Chrome OS)
  3. Go to the Console tab
  4. Paste in the code below and press enter
$('.unfollow-text').trigger('click')

This command will find all the unfollow buttons on the page and click them. So however many followers you have displayed will be immediately unfollowed.

 

I thought this was a neat trick to clean up your followers. Hope you find it useful.

Debugging Go Error

After a recent upgrade to macOS Mojave, my machine was not able to debug in GoLand due to the error below:

could not launch process: exec: "lldb-server": executable file not found in $PATH

To fix this you have to install xcode-select, a command-line utility on macOS: Type in the command below into your terminal to install xcode-select.

xcode-select --install

After installing xcode-select, everything was working.