# who am I?
whoami
# check if Xcode package is installed
# if installed it will display : /Applications/Xcode.app/Contents/Developer
xcode-select -p
# install Xcode command line form terminal
xcode-select --install
#verify successfull installation
xcode-select -p
#verify if GCC is installed
gcc --version
#check if homebrew is installed
# if installed returns /usr/local/bin/brew
which brew
#install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#once installation is successfull
brew doctor
#install brew bundle command
brew tap Homebrew/bundle
#show/hide hidden files
defaults write com.apple.finder AppleShowAllFiles YES
defaults write com.apple.finder AppleShowAllFiles FALSE
#show library
chflags nohidden ~/Library
# this will process the Brewfile in the current directory
$ brew bundle
# or you can point to a specific one
$ brew bundle ~/folder/Brewfile

Automate Mac OS X Configuration by using Brewfile
You have been using for a while and you might realize you have got a lot of unknown stuff which are most likely trash. When I realize that, all I do is to erase all of my data and reinstall OS. Since…
#Brewfile
# Git + Terminal
brew 'git'
brew 'tree'
brew 'wget'
#Python
brew 'pyenv'
brew'jupyter'
brew 'pyenv-virtualenvwrapper'
#Ruby
brew 'rbenv'
#Jekyll
# Node
brew 'node'
brew 'yarn'
#React Native
# Databases + WordPress
brew 'postgresql'
'brew'mysql'
brew 'wp-cli'
# Casks Dev
cask 'anaconda'
cask 'android-studio'
cask 'visual-studio-code'
cask 'sequel-pro'
cask 'postman'
# Casks Design
cask 'framer-x'
cask 'adobe-creative-cloud'
cask 'blender'
cask 'figma'
# Casks Apps
cask 'pock'
cask 'notion'
cask 'google-chrome'
cask 'slack'
cask 'spotify'
# Install Ruby
rbenv install 2.7.1
rbenv global 2.7.1
ruby -v
#Gems
gem install rails
gem install bundler

Install Ruby On Rails on macOS 10.15 Catalina | GoRails – GoRails
A guide to setting up a Ruby on Rails development environment on macOS 10.15 Catalina with Git, MySQL, and PostgreSQL
# Install Python 3.x using pyenv.
pyenv install 3.x.x
pyenv versions
pyenv local 3.x.x
pyenv global 3.x.x
#Now it's time to start the jupyter notebook.
jupyter notebook
How to Run Jupyter Notebooks on MacOS Catalina — in Four Steps
In my previous blog, I walked you through all steps to run a jupyter notebook. If you’re a data scientist or developer and upgraded to macOS Catalina 10.15, then you might have faced some issues with…
# Set your username
$ git config --global user.name "Your Name Here"
# Set your email address
$ git config --global user.email "[email protected]"
#INSTALL N
#Since you probably already have node, the easiest way to install n is through npm:
npm install -g n
#Execute n on its own to view your currently installed versions.
n
#Simply execute n <version> to install a version of node.
n 0.8.14
#If <version has already been installed (via n), n will activate that version.
#NINSTALL NPM CHECK UPDATES
npm install -g npm-check-updates
#Show any new dependencies for the project in the current directory
ncu
#Upgrade a project's package file
ncu -u
# The Apache HTTP Server and PHP language are already on your machine.
apachectl -v
php -v
# Edit
# /etc/apache2/httpd.conf
# Enable vhost
# Enable rewrites
# Enable PHP
# Change the default location for our projects
# Enable .htaccess
#add a custom configuration to VHOST configuration file that is located under /etc/apache2/extra/httpd-vhosts.conf.
Start, stop, restart and test apache server config
sudo apachectl start
sudo apachectl stop
sudo apachectl restart
sudo apachectl configtest

Configure a local WordPress development on macOS from scratch | pawelgrzybek.com
So you’re about to build a WordPress website. An Apache HTTP Server, PHP and MySQL database is all that you need. Let me guide you step by step.
#Wordpres
brew services start mysql
wp core download
wp config create --dbname=NAME_OF_YOUR_DATABASE --dbuser=root --dbpass= --dbhost=127.0.0.1