Category "macos"

How to do block-comments in Google Colab on a Mac with a non-American keyboard?

I want to do block-comments in Colab using a Mac laptop (Big Sur), so I had a look here: Is it possible to do block-comments in Google Colab? Ctrl+/ does not wo

Terminal error: zsh: permission denied: ./startup.sh

I am running a command ./startup.sh nginx:start and I am getting this error message zsh: permission denied: ./startup.sh why could this be happening?

Another Maven "Source option 6 is no longer supported. Use 7 or later."

I see lots of answers to this question but they don't work for me. I installed Visual Studio Code, latest version of Java and Maven on my PC and I was able to s

Drag and drop with custom type identifier doesn't work

I'm trying to achieve drag and drop on macOS with a custom type identifier to avoid collisions but it doesn't seem to work. First, here's a working example with

Visual Studio installation failed in MAC OS X

Downloaded Visual Studio installer from https://visualstudio.microsoft.com/vs/mac/ first and started the download and install process. At the end of the instal

SwiftUI using NSSharingServicePicker in MacOS

I am trying to use a Share function inside my MacOS app in SwiftUI. I am having a URL to a file, which I want to share. It can be images/ documents and much mor

Unable to stop a C program with infinite loop and printf within on macOS

#include <stdio.h> int main(void) { while(1) { printf("!"); } return 0; } This is my program. When I run it in the terminal, I can't

Not able to copy+paste in Android emulator with Apple silicon m1

Android emulator API version: 32, arm64-v8a Android studio bumblebee 2021.1.1 patch 3 Mac OS version: 12.3.1 I am trying to copy text from emulator and past tha

Installing cocoapods on Mac with M1 chip issues

I've been trying to install cocoapods and I managed to do that but now I'm getting this issue.I've gone through home-brew to install the latest version of ruby

SwiftUI : How to set image in MacOs?

please help me to set image in macOs application using swiftUI Here is my Implementation: import SwiftUI struct SigninView: View { var body: some View {

How do I debug an app on the Mac that accesses the camera?

My Qt C++ app captures video from the camera on the Mac. It has the NSCameraUsageDescription value set in its plist file. But, not surprisingly, this doesn't he

How to change PHP-FPM port on Mac

I'm not using php or php-fpm, but it's hogging port 9000. I need port 9000. I'd like to change the port. I changed it in /etc/php-fpm.conf and /etc/php-fpm.d/ww

Error when running npm start: nvm is not compatible with the "npm_config_prefix" environment variable

I am working on a project which I use nvm. Out of nowhere, I started to get this error when running "npm start": npm start > sh ./bin/start.sh nvm is no

docker: Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory. MacOS

It happens when I try "docker run -d -p 80:80 docker/getting-started". I thought it because I don't have enough memory, but after I freed some space problem did

Possible run MacOS on Hyper-V without nested virtualization?

Now i develop Xamarin application on my Hyper-V workstation. I'm using nested virtualization to host MacOS Mojave on Ubuntu host. I write small project descri

npm install opencv4nodejs error on mac m1 bigSur

I have been trying to install opencv4nodejs package with npm install opencv4nodejs command. But unfortunately the below is being thrown. Have done some research

How do I set the minimum window size with swiftUI, and how do I make the window use the specified size and position when launching?

I am making a macOS app with swiftUI. I want to set the minimum size of the window to 800, 500. Also there is this thing that if I close the window, and reopen,

Install for Azure Storage Explorer on Mac (Catalina) is not working

I am trying to install the Azure Storage Explorer on my Mac (MacOS Catalina, Version 10.15.1). As per this documentation (https://docs.microsoft.com/en-us/azure

How to install properly CocoaPods on Macbook M1 Silicon

I am trying to install Cocoa Pods on my new MacBook Pro with the M1 Chip. There are some solutions that found from December. Since is February those solutions m

Symbol not found: _FSPathMakeRef

Can't import Quartz package. I have installed it with this command pip install pyobjc-framework-Quartz. Tried reinstalling python, also tried python -m pip inst