Skip to content

Instantly share code, notes, and snippets.

@ICeZer0
Last active October 25, 2020 14:29
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 ICeZer0/22dd016c4471753fe4e605964b43af27 to your computer and use it in GitHub Desktop.
Save ICeZer0/22dd016c4471753fe4e605964b43af27 to your computer and use it in GitHub Desktop.
Zsh Setup Commands and Resources

Resources

iTerm2
Zsh
Oh My Zsh
Powerlevel10k
zsh-autosuggestions
Zsh-syntax-highlighting
micro editor

Zsh Steps

  1. brew cask install item2

  2. brew install zsh

  3. sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

  4. chsh -s $(which zsh)

  5. git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

  6. git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

  7. git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

  8. curl https://getmic.ro | bash

  9. micro ~/.zshrc

  10. source ~/.zshrc

  11. p10k configure

OpenCV Setup

  1. brew install python3
  2. brew install python

Script Snippet

Import cv2
print(cv2.__version__)

Img = cv2.imread(“en.png”) #add a file of your choice
Cv2.imshow(“embeddednature”, img) #name the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment