Category "macos"

Error: "channel 3: open failed: administratively prohibited: open failed" on OS X Screen Sharing over ssh tunnel

I had configured OS X screen sharing over an ssh tunnel and at some point it stopped working. The ssh tunnel would work: ssh -L 1202:localhost:5900 user@remote

C# GUI Design for Mac Retina Displays

I'm using Avalonia UI to create an application that is available for both Windows as well as macOS, and have come across the issue that, when using a macOS devi

Reset MySQL root password using ALTER USER statement after install on Mac

I'm new to the whole Mac experience. I recently installed MySQL and it seems I have to reset the password after install. It won't let me do anything else. Now

Bash alias: command not found

I'm trying to setup a simple alias to move me into my Developer folder on my machine. However, after setting it up, I get a weird error: -bash: dv: command not

zsh: command not found: mongo

I'm following the official instructions found here (on Mac OS Big Sur): https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ When attempting to run

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 on Apple Arm

I have installed Android Studio Canary 2020.3.1.22 and trying to run Flutter project on Apple Silicon(ARM) Mac. Unfortunately, it is giving me this error when I

Cause: error=86, Bad CPU type in executable M1 Macbook (Android studio)

When attempting to run the emulator on android studio I receive the Cause: error=86, Bad CPU type in executable error message. I'm using the most up to date and

Ruby On Rails - NoMethodError: undefined method `[]' for nil:NilClass

I'm trying to run on a new computer some ruby code and I receive the following error (rails db:migrate --trace) ** Invoke db:migrate (first_time) ** Invoke db:

FATAL: Failed to start gitlab-runner: "launchctl" failed with stderr: Load failed: 5: Input/output error

After installing and registering gitlab-runner, when I'm running gitlab-runner start I get this error message. What will be the reason for this ? Runtime platfo

reinstallimng Anaconda 3 on mac

I have been trying to reinstall Anaconda3 on my Macbook pro with no success. I keep getting this error: Anaconda3 is already installed in /opt/anaconda3. Use '

How to create a suffix alias for files without an extension?

I just found about zsh suffix aliases that allow one to associate a program with an extension in the shell: alias -s {md,txt}=nano Is there a way to do somethi

Using subprocess.check_output for a command with 2>/dev/null

I am on Mac OS X Yosemite 10.10 and Python 2.7. If I type the following: du -g -d1 /Users 2> /dev/null in the command line, everything works perfectly. No

TextField in Table behavior

I'm trying to use the new SwiftUI Table with TextField's in each row. However, the behavior of the text field's is weird, for 3 reasons: Clicking on a text fiel

Where is adb located when installing Unity and Android SDK for Mac?

I'm getting Android Build Failures and would like to locate adb to do some queries like adb devices but where is adb installed? I've already installed the Andro

Running C++ in Eclipse on MacOS

I am using Eclipse IDE for C/C++ Developer on Mac OS Sierra 10.12.6. When I build a project (HelloWorld Project) I see a message: "xcrun: error: invalid activ

How to open Visual Studio Code from the command line on OSX?

The docs mention an executable called code, but I'm not sure where I can find that so I can put it on my path. The zip I downloaded from the VSCode site did not

_cgo_export.c:3:10: fatal error: 'stdlib.h' file not found while running go test in VS Code after upgrading to mac OS Big Sur

I'm trying to learn select statements in go from learn go with tests. Just before this I upgraded macOS to Big Sur version 11.4. Now I'm trying to run the follo

How to create an alias in a shell to go to parent directories

I'm wondering how to create an alias with endless arguments for going parent directories without alias name! Currently I have written this function to achieve

How to create an alias in a shell to go to parent directories

I'm wondering how to create an alias with endless arguments for going parent directories without alias name! Currently I have written this function to achieve

How can I install emacs correctly on OS X?

I tried doing: brew install emacs --HEAD --use-git-head --with-cocoa --with-gnutls --with-rsvg --with-imagemagick But when I do emacs --version emacs --vers