Git Product home page Git Product logo

whattodoaftergettinganewmac's Introduction

WhatToDoAfterGettingANewMac

Notes to record what to do after getting a new macbook.

Setup

  1. iTerm Download & install.

  2. zsh

# install
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

### zsh-autosuggestions ###
# clone the repository
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions

# add to the ~/.zshrc
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

# make it work
source ~/.zshrc

### zsh-synax-highlighting ###
# clone the resposity
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting

# add to plugins in .zshrc
plugins=( [plugins...] zsh-syntax-highlighting)

# make it work
source ~/.zshrc

### history & z plugins ###
# add to plugins in .zshrc
plugins=( [plugins...] history z)

# make it work
source ~/.zshrc
  1. ShadowSocksR

I don't know.

  1. Homebrew Install

  2. ProxyChains

# install proxychains4
brew install proxychains-ng

# check the port that socks5 use in ~/.ShadowsocksX-NG/gfwlist.js
# check the head of the file

# add config to proxychains4
vi /usr/local/etc/proxychains.conf

# add the follow line to the end of the file
# and remember to comment out the socks4 config
socks5  127.0.0.1 1086 # the port that shadowsocks use, based on the shadowsocks in your computer

# usage
# add proxychains4 before the command you type
proxychains4 git clone ...

Add alias:

# add to ~/.zshrc
alias pc='proxychains4'

# make it work
source ~/.zshrc
  1. nvm
brew install nvm
  1. node
# install
nvm install node

# use
nvm use node
  1. yarn
brew install yarn
  1. VSCode Download & install.

  2. SSH Key

# create folder
mkdir .ssh

# generate key pair
cd ~/.ssh
ssh-keygen -t rsa -C "[email protected]"

# use the public key
cd ~/.ssh
cat id_rsa.pub
  1. Docker
brew install docker
  1. postman Download & install.

  2. Charles Download & install.

whattodoaftergettinganewmac's People

Contributors

felixyoungzz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.