Skip to content

Instantly share code, notes, and snippets.

@vxavictor513
Last active June 17, 2025 07:35
Show Gist options
  • Save vxavictor513/5139324d1605a2ceecf03ac9474d5eab to your computer and use it in GitHub Desktop.
Save vxavictor513/5139324d1605a2ceecf03ac9474d5eab to your computer and use it in GitHub Desktop.

macOS Setup

Apps

What I use

General

Backend Development

Other Recommendations

Productivity Notes

Shortcut for Screenshot

Command + Control + Shift + 4 to snap, at the same time copy.

Read more here.

Make app switcher displays on both multiple screens

defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock

Ref: https://superuser.com/a/1625752

Temporarily disable Gatekeeper to allow third party app installs that are not allowed by Apple

sudo spctl –-master-disable # disable
sudo spctl --master-enable # re-enable

Ref: https://osxdaily.com/2015/05/04/disable-gatekeeper-command-line-mac-osx/

Open project in Xcode from command line

At the directory where your xcworkspace or xcodeproj is, run the following command.

xed .

Ref: https://stackoverflow.com/a/52739630/5366727

Open project in IntelliJ from command line

In IntelliJ, go to Tools > Create Commandline Launcher for one-time setup.

At the directory where your Java project is, run the following command.

idea .

Ref: https://stackoverflow.com/a/49819015/5366727

@KhyeK
Copy link

KhyeK commented Aug 31, 2022

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment