Typing “gcc –version” outputs clang version instead on mac
You seem to not actually have gcc on your path. As of recent versions of Xcode, it installs a “gcc” that is instead a link to Clang.
You seem to not actually have gcc on your path. As of recent versions of Xcode, it installs a “gcc” that is instead a link to Clang.
Using –platform is correct. On my M1 Mac I’m able to run both arm64 and amd64 versions of the Ubuntu image from Docker Hub. The machine hardware name provided by uname proves it. # docker run –rm -ti –platform linux/arm/v7 ubuntu:latest uname -m armv7l # docker run –rm -ti –platform linux/amd64 ubuntu:latest uname -m x86_64 … Read more
I know I am late to the party but as of 2021, this is the easiest setup to get a windows container running on macOS: https://github.com/StefanScherer/windows-docker-machine Install vagrant and virtual box Clone the repository above and change directory into it vagrant up –provider virtualbox 2019-box docker context use 2019-box I followed this setup and I … Read more
The answer is NO, it is not possible to select more than one element at a time in the Chrome Dev-Tools. You may refer to the Chrome Dev-Tools Tips and Tricks https://developer.chrome.com/devtools/docs/tips-and-tricks
Well there is a project introducing something like Linux’s binfmt_misc to OS X so now what you need is an ELF loader, a dynamic linker that can load both Mach-O and ELF, and some mechanism to translate Linux calls to OS X ones. Just for inspiration, you can implement the dynamic linker in the fashion … Read more
2016 UPDATE: Turns out that this is a Python bug since at least 2013, very probably earlier too, consisting in Python not reacting well to non-GNU locales – like those found in Mac OS X and the BSDs. The bug is still open as of September 2016, and affects every Python version. If there was … Read more
We were having the same issue after upgrade our puppeteer and MacOS. One solution we have is to instruct puppeteer to use our own Chrome instead of the bundled chromium by specifying the executablePath. Below is a Typescript snippet how we specify it. Same thing if you use vanilla JS. Sometimes that still is not … Read more
TL;DR Running Docker for Mac as a standalone service is not supported. Instead run Docker in a VirtualBox VM, either by creating a plain VM or using docker-machine. Then set the Virtualbox VM up to run at boot. This is the LaunchAgent I use for Virtualbox: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” … Read more
In OS X 10.5 they allow you to have different keyboard setups for different keyboards. This works most of the time. I’ve had issues with very old keyboards that are plugged in via a PS2 to USB but otherwise it works fine.