Skip to content

Instantly share code, notes, and snippets.

Usually responsive. Always ready to code.

Mayank Kumar mayankk2308

Usually responsive. Always ready to code.
Block or report user

Report or block mayankk2308

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mayankk2308 /
Created Jul 17, 2018
Boost Low-Priority Tasks on macOS
# Useful for improving Time Machine backup prep. times, Mac App Store install speeds, etc.
sudo sysctl debug.lowpri_throttle_enabled=0
# To restore defaults
sudo sysctl debug.lowpri_throttle_enabled=1
mayankk2308 /
Last active Oct 2, 2019
Disable AMD GPU acceleration on macOS
# This can be useful to force the system to use only the integrated GPU at all times.
# This only applies to modern AMD GPUs (using the AMDRadeon4000 series kernel extension or later).
# Set mux to integrated Intel GPU
sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
# Option #1: Completely disable automatic graphics switching and any other GPUs
sudo nvram boot-args="agc=-1"
# Option #2: Disable just the AMD GPU framebuffer
You can’t perform that action at this time.