Category "macos"

SwiftUI 2 - How to prevent the top section from closing in a list in macOS and iPadOS

In a SwiftUI 2 navigation bar I have a list with multiple sections. All sections have a header, however I want the top section to never be closed and the elemen

Where does IntelliJ store the JDKs that it downloads on my behalf?

Recent versions of IntelliJ can download a JDK for the convenience of the user. However, those downloaded JDKs are not appearing in the canonical place, at leas

How to customize the touch bar in visual studio code?

Looking in the conventional place: View -> Customize Touch Bar... The option is not present. Is this option not currently available? I'd like to disable most

Button to open view in new window SwiftUI 5.3 for Mac OS X

I would like to have a button to open a new window and load a view (for the app's Preferences) in SwiftUI for MacOS but am unsure of the correct way to do it. I

phpstorm on osx: shortcut for 'Comment with Line Comment'

seems like i still didn't fully transform into a mac user (coming from Windows), once again having trouble with the keyboard shortcuts: in phpstorm the followi

Can not use `wrap widget` feature in Android Studio on an OSX

Recently after I upgrade to Android Studio 4.0 Build #AI-193.6911.18.40.6514223, built on May 20, 2020 Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64

How to open a .data file extension

I am working on side stuff where the data provided is in a .data file. How do I open a .data file to see what the data looks like and also how do I read from a

Copy current command at bash prompt to clipboard

I would like a quick keyboard command sequence to copy the current command at a bash prompt to the clipboard. So that, for example, to copy the last bash comm

gem eventmachine fatal error: 'openssl/ssl.h' file not found

Just installed El Capitan and can't install gem eventmachine 1.0.7. openssl is at 1.0.2a-1. Tried to use --with-ssl-dir but it seems ignored. Reported it to th

Unmount the directory which is mounted by sshfs in Mac [closed]

I've installed OSXFUSE in my mac and used sshfs to mount a remote directory. Now I would like to unmount it, but can't find the way. My OS is

Error building gems in Mountain Lion

I just bought a new MacBook Pro (obviously w/ML). First thing I'm doing is installing development tools. I installed Ruby with rvm and I've also got Homebrew in

when launching terminal macos get error Class ATCRTRestoreInfoFTABSubfile is implemented in both

When first launch the termainal always get this error. objc[9318]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib

How to convert PDF to Excel on a Mac?

I have a lot of PDFs to convert to excel. I found the code below which converts PDF to excel by opening the pdf file in word but it fails at Dim fso As New File

How to increase IDE memory limit in IntelliJ IDEA on Mac?

I'm using IDEA 12 Leda on Mountain Lion. I wanted to increase the maximum memory that IDE can use. I set the VMOptions in Info.plist file to be -Xmx2048m -ea -X

How properly add MacOS Signature & Notarization to .app built with Qt

I have an application (built with Qt / QML) that I am trying to sign and notarize for Ad hoc distribution outside the App Store (it's for internal company use).

shell command fails when running from crontab

[Edit: the original title of this question was "Applescript running from crontab not accessing network?" but having found that the problem is about PATHs--not n

How to zoom the screen programmatically with private coregraphic methods (how to find function arguments)

as you may know Mac OS X has a pretty nice screen zooming functionality built in, which can be enabled in System Preferences => Universal Access. Now I'm tr

Simulate run on older OS X version

How can simulate a run on a older OS X version ? Right now my app works on 10.7 and 10.8 but I want to make it compatible with 10.6. Since I'm using some new

SwiftUI TapGesture onStart / TouchDown

I am using the TapGesture in SwiftUI for MacOS. TapGesture is only recognized on TouchInsideOut event, when releasing the press again. I want to call an action

Why can't Groovy find this program even though it's on my PATH?

tl;dr: Groovy cannot find a program (phantomjs, which is on my $PATH) when I attempt to execute the shell command from a class -- it's otherwise finds it just f