Skip to content

My Mac Setup

Outline

Recommend Mac Apps

PDF Expert - $80

  • Download:
  • Price: $80
  • My Review: Pricey BUT it does 100% of PDF-related tasks & does it well!
    • Do you need to read through huge PDF files for your college courses?
    • Do you need to edit PDF files constantly for your job?
    • Do you fill out countless of PDF forms of various quality with your signature?
    • This App is for you!
  • Recommendations:
    • Get this app via Mac App Store & share it with your family via iCloud!

CleanMyMac X - $34.99 Per Year or $89.99 One-Time

  • Download:
  • Price:
    • CleanMyMac X Yearly Access $34.99
    • CleanMyMac X One-Time Purchase $89.99
    • Included in Setapp Subscription - CleanMyMac X on Setapp
  • My Review:
    • A MUST have Mac App to keep your machine working like a charm!
    • Powerful App Update & Uninstall tools!
    • Clear RAM easily & delete any files on your Mac!
    • Malware removal - Perform an in-depth check-up of your Mac for all kinds of vulnerabilities.
    • Privacy - Instantly remove your browsing history, along with online & offline activity traces.
  • Recommendations:
    • Get this app via the Setapp Subscription!~

Sensible Paster - free

  • Download: Sensible Paster on the Mac App Store
  • Price: free
  • My Review: 5/5; Best Japanese OCR App for Mac; Secure as the OCR is done locally!
  • Real basic, but it works! It picks up most Japanese on my screen with high accuracy.
  • Works on M1 & Intel Macs
  • Japanese & English language support!

Rocket - free / $10

  • Download: Rocket - the best emoji app for Mac
  • Price: free or $10 upgrade
  • My Review: 5/5; GET THE UPGRADE! It makes your life so much easier
  • Rocket is a free Mac app that makes typing emoji faster and easier using auto-complete shortcuts
  • Ex: start typing :thumbsup (👍) & Rocket will help auto-complete it - in any app!
  • With Rocket Pro ($10) upgrade, add symbols, gifts, & custom snippets, to your Rocket shortcuts.
  • Add phone numbers, custom texts, email starters for a powerful experience!

Magnet - $5

  • Download: Magnet on the Mac App Store
  • Price: $5
  • My Review: 5/5; well worth the price!
  • Magnet is a fantastic window manager for Macs!
  • Recommendations:
    • Get this app via Mac App Store & share it with your family via iCloud!
  • I use the following shortcuts to move windows between three monitors:
Magnet PreferencesShortcut
LeftOPTION ⌥ + SHIFT ⇧ + [
RightOPTION ⌥ + SHIFT ⇧ + ]
UpOPTION ⌥ + SHIFT ⇧ +
UpOPTION ⌥ + SHIFT ⇧ +
Next DisplayOPTION ⌥ + SHIFT ⇧ + \
Previous DisplayOPTION ⌥ + SHIFT ⇧ + Enter ↵
MaximizeOPTION ⌥ + SHIFT ⇧ + A

Mac Development Setup

Xcode x Terminal

  • To Install Xcode for the Terminal: xcode-select --install
  • To update:
    • softwareupdate --all --install
    • softwareupdate --all --install --force

Terminal Custom Setup

  • Background Hex: #630436
  • Text Hex: #FFFFFF
  • Font: MesloLGS NF Regular 15
    • brew tap homebrew/cask-fonts
    • brew install --cask font-hack-nerd-font
  • Selection Hex: #00C9C1

powerlevel10k - A Zsh theme

Setup powerlevel10k for iTerm2

for your iTerm2

  1. Make sure you installed ryanoasis/nerd-fonts

    shell
    brew tap homebrew/cask-fonts
    brew install --cask font-hack-nerd-font
  2. Install romkatv/powerlevel10k

shell
brew install romkatv/powerlevel10k/powerlevel10k
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >> ~/.zshrc
  1. Go through the p10k configure configuration wizard
    • configuration-wizard.gif
    • Type in the choice you want.
    • Example: Choice [12345rq]: ...
      • 1 ~ 5 are the options
      • r is for restarting the configuration wizard
      • q is for quitting without saving

Setup powerlevel10k for Apple Terminal & VS Code Terminal

  1. Install these four tff files to install fonts manually
  2. Double-click on each file and click "Install". This will make MesloLGS NF font available to all applications on your system.
  3. Configure Apple Terminal to use this font:
    1. Open Terminal → Preferences → Profiles → Text
    2. Click Change under Font
    3. Select MesloLGS NF family.
  4. Configure Visual Studio Code Terminal to use this font:
    1. Open File → Preferences → Settings (PC) or Code → Preferences → Settings (Mac)
    2. Enter terminal.integrated.fontFamily in the search box at the top of Settings tab
    3. And set the value below to MesloLGS NF.
    4. Settings Screenshot
  5. Run p10k configure to generate a new ~/.p10k.zsh. The old config may work incorrectly with the new font.

brew

  • Homebrew or brew is a package manager for MacOS. brew.sh
  • It is helpful to manage packages like font-fira-code, git, python, or node.

Useful Commands

FunctionCommand
Install a packagebrew install <formula>
Uninstall a packagebrew uninstall <formula>
List all the installed formulaebrew list
Update Homebrew & packagesbrew update
Display the Homebrew versionbrew --version
Check for potential system issuesbrew doctor

Useful Packages

PackagebrewNote
Node.jsbrew install nodeJavaScript server environment
Gitbrew install gitdistributed version control system
Pandocbrew install pandocMarkdown ↔︎ Word Docx
ryanoasis/nerd-fontsbrew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
Fonts including Fira Code & MesloLGS NF
tonsky/FiraCodebrew cask install font-fira-codeGreat font for coding

Python Setup on Mac

Install Pyenv

Steps: https://github.com/pyenv/pyenv#getting-pyenv

shell
# Install Pyenv via brew
brew update
brew install pyenv

# Add the following to ~/.zshrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(pyenv init -)"' >> ~/.zshrc

# Restart the terminal
exec "$SHELL"

Use Pyenv

Current Python versions:
Download Python | Python.org

Install additional Python versions:
For example, to download and install Python 3.10.4, run:

shell
pyenv install 3.10.4

List of Python versions:

shell
pyenv install --list

Switch between Python versions:

To select a Pyenv-installed Python as the version to use, run one of the following commands:

Python Version ScopeCommand
Just for current shell sessionpyenv shell <version>
Current directory (& subdirectories) Settingpyenv local <version>
Global Settingpyenv global <version>

Verify Python version:

shell
python --version

PowerPoint to MD

pptx2md is a tool to convert PowerPoint to Markdown.

Install: pip install pptx2md

Usage: pptx2md filename

Options:

  • -t [filename] provide the title file
  • -o [filename] path of the output file
  • -i [path] directory of the extracted pictures
  • --image-width [width] the maximum width of the pictures, in px. If set, images are put as html img tag.
  • --disable-image disable the image extraction
  • --disable-escaping do not attempt to escape special characters
  • --disable-wmf keep wmf formatted image untouched (avoid exceptions under linux)
  • --disable-color disable color tags in HTML
  • --min-block-size [size] the minimum number of characters for a text block to be outputted
  • --wiki / --mdk if you happen to be using tiddlywiki or madoko, this argument outputs the corresponding markup language