Category "macos"

Binance API: OSError('Tunnel connection failed: 405 Method Not Allowed')

I am trying to access Binance Vanilla Futures data by using [this code][1] as a framework to better understand how to get the data. However, when I input my API

Dockerfile doesn't write files to host only to container

What I want is for this dockerfile to clone into the host machine (mine) and I'll copy it over as a volume, but instead it's cloning it directly into the contai

select a screen section ffmpeg c++ on macos

I am trying to record the screen on macos, with ffmpeg. I would like to be able to select a section of the screen instead of the whole desktop. I tried to set s

How to create a mac universal binary with bundled JRE?

I am creating a JAVA desktop app for Mac computers, using jpackage to bundle the desired JRE into the app and finally shipping a .app to the customers. With the

Pyinstaller MacOS Application launching twice

I have an application written in Python and TKInter and complied with PYInstaller. Recently compiled versions appear to launch twice. When I double-click on the

Cross-platform method to detect whether /dev/tty is available & functional

I have a bash script from which I want to access /dev/tty, but only when it's available. When it's not available (in my case: when running my script in GitHub A

The virtual machine 'vagrant' has terminated unexpectedly during startup with exit code 1 (0x1)

Hello i want to run my project with vagrant. When I use the vagrant up command I get the following error. I was running it before but when I tried it today I go

VSCode does not let me set cwd in launch.json for debug

I've been using this setting in MacOs for a while without any problem, but since I changed to a new computer (MacOs M1) I can't make this work. Here is my confi

Bootstrap failed: 5: Input/output error while running any service on macOS Big Sur version 11.5.2

I am trying to run [email protected] service using brew services start [email protected] (facing similar error, while running httpd service or any oth

MacOS desktop background won’t change

I was playing around with a python script that downloads and changes the wallpaper, and suddenly the wallpaper went black and won’t change even through th

Bundle application is defined as damaged on Mac M1 after uploading on drive and redownloaded

When I compile ioquake3 (or others bundle) on my Mac M1 and then I upload it on google drive (or others drive site), if I redownload it, it will always says tha

Ruby (or FFI?) error when executing Jekyll commands

I want to create a new Webpage using Jekyll, but when I execute jekyll new <page>, Ruby crashes with a really long Crash Report that starts like this: /Li

How do I get rid of the default macOS menu items in wxWidgets?

"Toggle Sidebar" is the only item I have added, how do I remove the other items which I don't really need? I'm stuck I'm on macOS 12.2 with wxWidgets v3.1.5 her

Restoring macOS window size after close using SwiftUI WindowsGroup

By default, on a macOS app using SwiftUI the window size is not restored after the window is closed. Is there a way to keep whatever size & position the use

Creating a macos windowless menu bar application with SwiftUI

I am looking for a solution to create a macos windowless menu bar application with SwiftUI. I have implement the function ralated to the menu bar, the problem i

How to pass user setting to Driver Extension (MacOS)?

I am writing a driverkit extension whose goal is to block some categories of USB devices, such as flash drives. The driver should block (match to) any device of

How to add a post build event in MSBuild for .Net 6.0 on Mac?

How do I need to edit a *.csproj file to add a PostBuildEvent on Mac? I am trying the following but it doesn't work: <ItemDefinitionGroup> <PostBuild

Is there a way to get Slack's focused channel name programmatically in macOS/Swift?

Is there a way that macOS/Swift app can retrieve Slack's currently-focused Workspace name and channel name? So, given that Slack app is running, is there any wa

Updating SourceTree's browser.plist with non-existing repositories dynamically

I'd like to traverse some directories containing git repositories with my Bash script and add them to SourceTree's list if they don't exist already. I'd prefera

problem when fix error git : "Support for password authentication was removed", there are no github internet password in Keychain Access?

I installed git on my Mac and checked it on terminal by command git version, it showed me this : git version 2.35.1 So maybe it is ok. When I tried to push a f