Skip to content

Instantly share code, notes, and snippets.

@Jian-Min-Huang
Last active May 23, 2023 03:33
Show Gist options
  • Save Jian-Min-Huang/df5814c152c9987a3980e24699b7dc0b to your computer and use it in GitHub Desktop.
Save Jian-Min-Huang/df5814c152c9987a3980e24699b7dc0b to your computer and use it in GitHub Desktop.
Reinstall 1126 Note

Install Part

install Homebrew

install xcode

install chrome and iterm2

  • brew install --cask google-chrome iterm2

install by brew

  • brew install git opencc mono tfenv android-platform-tools devutils openvpn

.ssh

  • mkdir .ssh
  • ssh-keygen -t rsa -b 4096
  • pbcopy < ~/.ssh/id_rsa.pub
  • vi ~/.ssh/config
# GitHub
Host github
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
# GitLab
Host gitlab
HostName gitlab.com
User git
IdentityFile ~/.ssh/id_rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub office

setup font

  • brew tap homebrew/cask-fonts
  • brew install --cask font-fira-code
  • brew cleanup

setup vim

  • cd ~ && git clone git@github.com:Jian-Min-Huang/.vim.git
  • cd ~ && ln -s ~/.vim/.vimrc .
  • cd ~ && ln -s ~/.vim/.ideavimrc .
  • vi ~/.vimrc
:PlugInstall

install zsh

zmodule romkatv/powerlevel10k

zmodule ohmyzsh/ohmyzsh -f 'lib' -s 'lib/clipboard.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/ansible' -s 'plugins/ansible/ansible.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/copybuffer' -s 'plugins/copybuffer/copybuffer.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/common-aliases' -s 'plugins/common-aliases/common-aliases.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/copypath' -s 'plugins/copypath/copypath.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/docker-compose' -s 'plugins/docker-compose/docker-compose.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/emoji' -s 'plugins/emoji/emoji.plugin.zsh'
#zmodule ohmyzsh/ohmyzsh -f 'plugins/fd' -s 'plugins/fd/_fd'
zmodule ohmyzsh/ohmyzsh -f 'plugins/git' -s 'plugins/git/git.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/gitfast' -s 'plugins/gitfast/gitfast.plugin.zsh'
#zmodule ohmyzsh/ohmyzsh -f 'plugins/kubectl' -s 'plugins/kubectl/kubectl.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/sudo' -s 'plugins/sudo/sudo.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/terraform' -s 'plugins/terraform/terraform.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/vi-mode' -s 'plugins/vi-mode/vi-mode.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/z' -s 'plugins/z/z.plugin.zsh'
  • p10k configure
  • source ${ZIM_HOME}/zimfw.zsh install

brew cask install

  • brew update
  • brew tap homebrew/cask-drivers
  • brew install --cask karabiner-elements slack dropbox sourcetree postman keycastr discord alfred obs brave-browser qmk-toolbox fig anydesk figma 1password 1password-cli mongodb-compass orbstack obsidian
  • brew cleanup

app store

direct

  • Jetbrains Toolbox
    • defaults write -g ApplePressAndHoldEnabled -bool false (press yes)

Setapp

  • ...

sdkman

Python

  • pip3 install ansible httpstat virtualenv
  • vi ~/.zshrc

NVM

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