Skip to content

Instantly share code, notes, and snippets.

View logesh45's full-sized avatar

Logesh R logesh45

View GitHub Profile
@sandiprb
sandiprb / gist:771bcbd100a3ebf53682903a627a40df
Created August 26, 2020 07:20
Set up OhMyZsh on Amazon EC2 instance running Ubuntu Server
  1. Connect to your EC2 instance
  2. Install zsh : sudo apt-get update && sudo apt-get install zsh
  3. Install OhMyZsh : sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" 4.sudo chsh -s /bin/zsh ubuntu to change the user ubuntu's default shell. Replace 'ubuntu' with your username.
  4. Disconnect from your instance and reconnect it.
@xola139
xola139 / Invalid Host Header NGROK
Created February 19, 2018 19:17
When Invalid Host Header when ngrok tries to connect to Angular or React dev server
When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok.
ngrok http 8080 -host-header="localhost:8080"
ngrok http --host-header=rewrite 8080