Category "macos"

Xcode 12.3 keeps freezing

I updated to the latest AppStore release of Xcode (12.3, 12C33). It worked fine for an hour or two. After that it started to constantly freeze after being open

"source" command on mac

I have a .bashrc file on Mac OS in which I set some aliases. After I make it and I type source .bashrc, the aliases work perfectly. However if open another shel

How to detect if the OS is in dark mode in browsers?

Similar to "How to detect if OS X is in dark mode?" only for browsers. Has anyone found if there is a way to detect if the user's system is in the new OS X Dar

Use script "code ." in terminal to open PhpStorm

I want to type the script "code ." in terminal in order to open my code editor, PhpStorm. How can I do that?

How to run CocoaPods on Apple Silicon (M1)

I have a Flutter project that I'm trying to run on iOS. It runs normally on my Intel-based Mac, but on my new Apple Silicon-based M1 Mac it fails to install pod

How do I update the password for Git?

I'm using BitBucket with Xcode and Git for version control, and recently I changed all of my passwords (thanks Adobe!). Unsurprisingly, I'm no longer able to p

How to use PyAutoGUI to detect RGB values

I'm trying to build a small bot that clicks only certain colours. I believe pyautogui.displayMousePosition() should display the position of my mouse as well as

CGDisplayIOServicePort is deprecated in OS X >= 10.9, how to replace?

I did small app to allow quickly change screen resolutions on multiple monitors. I want to show product name as title of the monitor, and it's very simple to fi

CGDisplayIOServicePort is deprecated in OS X >= 10.9, how to replace?

I did small app to allow quickly change screen resolutions on multiple monitors. I want to show product name as title of the monitor, and it's very simple to fi

NodeJS error "EMFILE, too many open files" on Mac OS

For sometime I am having the following error: Error: EMFILE, too many open files '/Users/blagus/Gallery/Websites/Nicsware/Pills/resources/core/auth.node.js'

What does "source" do in Mac iTerm2 terminal?

I put in the command source followed by my file path and I was wondering what the source command does in the iTerm2 terminal? Any help on this would be welcome.

How to force macOS File Provider Extension to re-enumerate items

Is there a way to force macOS File Provider Extension to re-enumerate items for given parent container? I am aware that we can signalEnumerator(for: .workingSet

How to read a specific value in PLIST file in terminal

I'm trying to access a specific property in a plist file on my MAC OS, but the name of that property has a space in it and I cannot access it. here is the reque

Removing Java 8 JDK from Mac

So I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for sure by now, it's easy to change between versions. Doing some Play

BSTR's and VARIANT's under... mac os x

Under mac os x I have office 2011 and its excel and VBA, and I have gcc-5.3.0's g++. I played a lot to passing arrays (of numerical built-in types) from VBA to

Go programs won't run after MacOS Catalina upgrade

This might be a weird question, but some programs written in Go won't run on my MacBook Pro after MacOS Catalina upgrade. However a basic "Hello World" program

cx_freeze MacOs : Bad Python Path

I got a problem trying to compile any python program with cx_freeze on Mac. For now the program i'm trying to get an executable is the following: print('Hello W

Open a folder in vscode through Finder in macOS?

On my windows pc, I would just double click a folder and click "Open in VS Code" to a open a folder, which saved time for me when looking through lots of code o

How can I easily switch between PHP versions on Mac OSX?

I would like to test my application on PHP 5.3 up to PHP 7.0. Where and how can I install the versions and how can I switch them by running a small script?

Can't access OVM Samba share MacOs / iOS (Invalid argument)

I have Open Media Vault set up on Raspberry Pi. I have connected an external drive, created the required shared folders, enabled SMB/CIFS. Everything works grea