Skip to content

Instantly share code, notes, and snippets.

View IamDinni's full-sized avatar
☀️
Commit Every Day

Dinesh Singh IamDinni

☀️
Commit Every Day
View GitHub Profile
@IamDinni
IamDinni / react_env_setup.sh
Last active March 13, 2021 17:28
Extend React with Prettier, AirBnB Eslint config, Flow & Jest
yarn add -D eslint-config-airbnb eslint-config-prettier eslint-plugin-jsx-a11y eslint-plugin-prettier prettier
yarn add -D husky lint-staged
yarn add -D flow-bin flow-typed
yarn add -D @testing-library/jest-dom @testing-library/react @testing-library/react-hooks
@IamDinni
IamDinni / zsh_config.sh
Last active January 19, 2022 10:57
Add Aliases to your '.zshrc' file
echo "Running script... 🚀"
cat << EOF >> ~/.zshrc
# Yarn Aliases
alias y='yarn'
alias ys='yarn start'
alias yd='yarn dev'
alias ya='yarn add'
alias yt='yarn types'
alias yb='yarn build'
@IamDinni
IamDinni / setup.sh
Last active March 13, 2021 17:20
Linux Environment Setup
sudo apt update
sudo apt upgrade
sudo apt install curl git firefox eddy zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | zsh
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && zsh Miniconda3-latest-Linux-x86_64.sh