Skip to content

Instantly share code, notes, and snippets.

@gcamp806
Last active April 10, 2020 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gcamp806/d5a08e8dd408bd2211ca0ccb36c850db to your computer and use it in GitHub Desktop.
Save gcamp806/d5a08e8dd408bd2211ca0ccb36c850db to your computer and use it in GitHub Desktop.
Homebrew install on macOS
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install libdvdcss
**PRELIMINARY**
// Install Xcode Tools: xcode-select --install
// Install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
**CASK**
//Install Cask brew install cask
List apps: brew search --casks
Search apps: brew search (discord)
Install: brew cask install (discord)
Update: brew cask upgrade
Help: brew cask help
**HTOP**
//Install htop: brew install htop
Run: sudo htop
**SPEEDTEST**
//Install Speedtest brew install speedtest-cli
Run: speedtest-cli
**YOUTUBE-DL**
//Install youtube-dl: brew install youtube-dl
//Install ffmpeg: brew install youtube-dl ffmpeg
Download highest-res vid: youtube-dl -f bestvideo+bestaudio ‘link’
Help: youtube-dl --help
**IMAGEMAGICK**
//Install ImageMagick: brew install imagemagick
Add border (sample): convert testing.png -border 1x1 -bordercolor black result.png
Resize (sample): convert testing.png -resize 1920 (or x1080) example.png
Add effect (sample): convert testing.png -charcoal 2 example.png
Change multiple (sample): for file in *.png; do convert $file -resize 1920 small-$file; done
Help: convert help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment