Category "macos"

How to retrieve/get back unallocated space on a flash drive in MacOS

So, sometimes, when you format a flash drive, some of the available space disappears. In my case, I have a 128GB flash driver, I used it to make a bootable USB

How to install cask for homebrew on mac

I have set up git and homebrew, ran brew reset-update, brew update and brew doctor none of these give me errors but when I try to install glew using: brew insta

dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

vincens@VMAC: python3 dyld: Library not loaded:/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Referenced from: /Library/Framewor

The application “ ” can’t be opened. After extracting using zipfile in python macos

I'm unable to launch an application after using python to pull a build from a server and then extract. I get error message 'The application “ ” can&

How to set JAVA_HOME environment variable on Mac OS X 10.9?

I just purchased a brand new MacBook Pro. This is my first MAC ever and I'm still trying to get the hang of navigating my way around. Anyway, I'm also new t

Failed to build gem native extension (installing Compass)

When I attempt to install the latest version of compass (https://rubygems.org/gems/compass/versions/1.0.0.alpha.17), I get the following error. ERROR: Error i

No such file or directory: 'gdal-config'

I am trying to install fiona and geopandas on a mac machine. I have installed GDAL trough brew install gdal --HEAD If I try install fiona, I get the following:

macos llvm-symbolizer not found

I am trying to use address sanitization when calling my program with clang, however it doesn't seem to be installed. If I type which llvm-symbolizer I get llvm-

Lombok not working on Eclipse Mars on Mac 10.11.3

I tried all the solutions given here on Stackoverflow regarding the same but it still won't work. Eclipse still shows compile errors on getter/setters. Steps i

Django/Python unable to find GDAL Library

I have installed GDAL in a virtual environement with the following commands: $ brew install gdal $ pip3 install gdal When trying a python manage.py makemigrati

Docker & Postgres: Failed to bind tcp 0.0.0.0:5432 address already in use

Problem I'm trying to start postgres in a docker container on my Mac, but I keep getting the following error message docker: Error response from daemon: driver

Spyder on MacOS. Typing is very laggy

I am using Spyder with Anaconda on macOS. I have already updated Anaconda and Spyder to version 4.2.0 (4.2.1 was not found). The problem is now, that if I am ty

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