Category "macos"

FFMPEG hangs (sometimes) when trying to take a photo from USB camera?

I am attempting to write a script that takes a photo every 3 seconds from camera source "1", the -pix_fmt I think is unique to my USB camera. Here is the script

Can't install php7 or php 7.1 with homebrew

I was following a couple links that had this same sequence, namely this example. I was unable to get it done successfully. Here is the output from terminal Mac

"brew install python" installs 3.9. Why not 3.10?

My understanding is that "brew install python" installs the latest version of python. Why isn't it pulling 3.10? 3.10 is marked as a stable release. I can insta

How to force rebuild with .NET Core on the Mac

In Eclipse we "clean". In Ant we "clean". How do we clean or force a rebuild with DotNet Core command on the Mac? Trying to rebuild with the simple build comman

System Storage Taking Up Way Too Much Space in macOS Mojave [closed]

My mac is sending me the frequent alert of low disk space. When I am checking the system storage then it's showing 170+gb is occupied by the s

Unable to build docker image with sasl python module

I am trying to build a docker image containing Python 2 on my mac (High Sierra). Here is the docker file. (build command: docker build -t integration_test .) F

All NPM commands error with TypeError: Class extends value undefined is not a constructor or null

I've been using n to install node for years with no issues. Now on my Big Sur mac, I updated from v14.17.6 to v16. This updated without incident and node -v sho

Pycharm Jupyter Notebook `PYTHONPATH`?

System information Mac OS X 10.12 Sierra Pycharm 2016.2.3 Python 3.5.1 Jupyter 4.1.0 Question When I'm using Jupyter Notebook under Pycharm, it doesn't seem t

How to enable pasting with keyboard shortcut into SwiftUI macOS agent application

I'm creating an app with Swift 5 and SwiftUI. The application runs as a status bar app (LSUIElement is true). I've created a simple preferences window with Swif

Error message in deleting IO80211Family.kext

I would like to delete IO80211Family.kext from my Mac so as to disable wireless internet. However when I run the following command from the terminal, I get an e

Why does this script works on one machine but not on the other? MacOS Catalina

I have this shell script which works on my machine just fine. To test the script I have a VM with the same OS Version, MacOSCatalina. On the "real machine" the

Homebrew - brew mysql 8 - Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I tried a lot to install MySQL8 via Homebrew on Mac 10.14.5. I was running MySQL 5.7 before that and did the following: I removed MySQL completely via this tuto

How do I make a hexagon with 6 triangular SCNNodes?

I'm trying to make a hexagon grid with triangles without altering any pivot points, but I can't seem to position the triangles correctly to make single hexagon.

How to make Scroller background transparent in NSScrollView?

I've used Storyboard to set up the NSScrollView and I cannot find any option where I can disable the scroller's background. Any ideas on how to make this happen

Visual Studio Code c++11 extension warning

I am in the process of learning c++ and I'm using visual studio code for Mac. I use Code Runner to run my program. My problem is that when I use something from

How to reinstall python@2 from Homebrew?

I have been having issues with openssl and python@2 with brew, which have explained here (unresolved). The documented workaround to reinstall Python and openssl

Search a text on terminal output on Mac (not using Terminator)

I installed something via Terminal (iterm2) on Mac and it showed a whole bunch of commands while installing. I need to look for a specific word to decide my nex

How to convert date string to epoch timestamp with the OS X BSD `date` command?

I have a date string in the following format Jul 27 23:59:59 2016 GMT and I need to convert it to the equivalent epoch timestamp with the OS X BSD date command.

Upgrade MySQL on Mac

I did an upgrade of my XAMPP from 7.1.24 to 7.4.2. First I uninstall my XAMPP using uninstall.app, then I install my new XAMPP, then i check my phpmyadmin every

Symbol not found in flat namespace '_FT_Done_Face' from reportlab with [email protected] on macOS 12

I have a django project using easy-thumbnail as a dependency. Installing all packages with pip is working as expected, but when I try to run my app I get this e