How to disable generating special characters when pressing the `alt+a`/`option+a` keybinding in Mac OS (`⌥+a` )? [closed]

You can create a custom keyboard mapping with option-letters all set to BLANK using online tool from this webpage. You can create a custom mapping in several clicks out of almost any keyboard layout. Proved to work on MacOSX 10.7+ with IntelliJ Idea, Php/WebStorm, NetBeans, Eclipse. Select “Set blank for option key” radio in the … Read more

ld: library not found for -lzstd while bundle install for mysql2 gem Ruby on macOS Big Sur 11.4 Apple M1

Step 1: confirm you have both openssl and MySQL installed via brew brew install mysql brew install openssl or if you have previous version of openssl try brew reinstall openssl@3 Step 2: Run this on your Rails app to make sure you can get through bundler: gem install mysql2 -v ‘0.5.3’ — –with-opt-dir=$(brew –prefix openssl) … Read more

“zsh: illegal hardware instruction python” when installing Tensorflow on macbook pro M1 [duplicate]

This worked for me after trying a bunch of solutions to no avail. Step 1 Using pyenv install python version 3.8.5 and set it as your default python version. This tutorial(https://realpython.com/intro-to-pyenv/) is helpful for getting pyenv configured properly. Step 1.1 Use this post(https://github.com/pyenv/pyenv/issues/1446) if you have troubles running pyenv in zsh. Step 1.2 Once you … Read more

Android Studio/Emulator on macOS with ARM CPU M1

Good news ! Edit on 28 th of July 2021 🎉 🌈 Apple Silicon Support Now, there is an arm64 release version available for Android Studio Arctic Fox (2020.3.1) You can download it from here https://developer.android.com/studio#downloads Easy fix to use right architecture Tools -> SDK Manager -> SDK Tools (tab) -> Deselect ‘Android Emulator’ -> … Read more

Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)

For what it’s worth, before installing Homebrew you will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). I just installed Rosetta2 via terminal using: /usr/sbin/softwareupdate –install-rosetta –agree-to-license This will install rosetta2 with no extra button clicks. After installing Rosetta2 above you can then use the Homebrew cmd and install Homebrew for … Read more

clang-7: error: linker command failed with exit code 1 for macOS Big Sur

This has been challenging, but here are the steps I used compile R packages from source on MacOS Big Sur: Reinstall xcode command line tools (don’t believe Software Update if it says ‘up to date’ – he lies – brew doctor said my version was actually old) sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select –install Install … Read more