Skip to content

Instantly share code, notes, and snippets.

@andrewodri
Created January 25, 2021 13:19
Show Gist options
  • Save andrewodri/ca183b3baa67872d947dd57fa724b104 to your computer and use it in GitHub Desktop.
Save andrewodri/ca183b3baa67872d947dd57fa724b104 to your computer and use it in GitHub Desktop.
Fix overexposure on Microsoft LifeCam in macOS
#!/bin/zsh
cat "alias brew='arch -x86_64 brew'" > ~/.zshrc
brew install nvm
cat EOM > ~/.zshrc
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
EOM
source ~/.zshrc
nvm install 14
npx uvcc set backlight_compensation 0
@achantavy
Copy link

Thanks for this!

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