Git Product home page Git Product logo

build-my-pc's Introduction

Onboard New Macbook < 20 Min

Script Laptop Onboarding

Pre-requisites

  • Copy Bash Alias.
wget https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/.bash_profile && \
mv .bash_profile ~/.bash_profile
source ~/.bash_profile
  • Copy Fish Config
wget https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/config.fish && \
mv config.fish ~/.config/fish/ && \
source ~/.config/fish/config.fish
  • Copy Fish Autocomplete
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/fish-autocomplete.sh| sh

Configure Git Profile

  • Configure local Git profile
git config --global user.name “NikG”
git config --global user.email “[email protected]”
git config --global core.editor “code -w”
git config --global merge.tool code

SSH Public Keys

  • Generate General ssh keys
ssh-keygen -t rsa -b 2048
  • Generate ssh key for codebase
ssh-keygen -t rsa -b 2048 -f "id_rsa_github"
  • Generate ssh key for server
ssh-keygen -t rsa -b 2048 -f "id_rsa_serv1"

Homebrew & Homebrew Cask & Homebrew-cask-upgrade

  • Install Homebrew for applications.
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/homebrew-install.sh | sh

Install Brew Apps

  • Install core applicaitons.
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/brew_tools.sh | sh

Install Brew Cask Apps

  • Install tools
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/brewcask_apps.sh | sh

Install Mac Apps

  • Install Mac Store applications.
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/mas_apps.sh | sh

Install PiP Apps

  • Install PiP Packages.
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/pip_packages.sh | sh

Install NPM Apps

  • Install NPM packages.
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/npm_packages.sh | sh

Install VSCode Extensions

  • Run the following to install all extensions.
curl -L  https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/vs-code-extension.sh | sh

If the command fails, try Cmd + Shift + P and then type install and choose the

Shell Command: Install 'code-insiders' command in PATH

and re-run the command

Install kubectl Plugins

  • Install kubectl Plugins.
curl -L https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/kubectlPlugins.sh | sh

Install Helm-2 and Helm-3

  • Get Helm Install script
$ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 > get_helm.sh
$ chmod 700 get_helm.sh
  • Install Helm-2
$ ./get_helm.sh -v v2.16.3
$ cd /usr/local/bin/ && mv helm helm2
$ helm2 list
  • Install Helm-3
$ ./get_helm.sh
$ cd /usr/local/bin/ && mv helm helm3
$ helm3 list

Copy Sensitive Creds

  • aws
cp ~/.aws/config
cp ~/.aws/credentials
  • k8s kube
cp ~/.kube/config
  • SSH Authorized_keys
cp ~/.ssh/authorized_keys

Keeping Things Updated

  • Laptop House keeping
curl -L  https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/housekeeping.sh | sh
  • Upgrade all Brew Apps
curl -L  https://raw.githubusercontent.com/nikhilgorantla/build-my-pc/master/scripts/brew_tools_upgrade.sh | sh

build-my-pc's People

Contributors

nikhilgorantla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.