An interesting case study - GitHub services outage
This interesting video by Kevin Fang explains the events very well.
This interesting video by Kevin Fang explains the events very well.
Problem: Was unable to connect to internet in the VM, and found the solution as described in a previous blog post. The problem that remains is - had to sudo dhclient eth0 everytime when the VM restarts. Is there a way to do this automatically? Solution: Using this post: https://superuser.com/questions/151936/how-to-automate-running-the-dhclient-in-ubuntu tried the steps: You should check your network configuration in: /etc/network/interfaces If you want DHCP, it should be something like this:...
Docker Docker wants to make “installing” and running software super easy, without you needing to worry about dependencies (prereqs) required on the system (docker image will help with that).
Ports and what they mean as a process: Sometimes working on react app, you run into issues like: Something is already running on port 3000. To handle this: For Linux/Mac OS search (sudo) run this in the terminal: $ lsof -i tcp:3000 $ kill -9 PID On Windows: netstat -ano | findstr :3000 tskill typeyourPIDhere change tskill for taskkill in git bash Source: referring to this SO: https://stackoverflow.com/a/45130296
To open a new git-bash terminal from existing terminal: Set alias: alias git-bash='/git-bash.exe & > /dev/null 2&>1' Simply type git-bash into your already open git bash terminal now. to open a new git bash terminal. Also this opens the new terminal at the same path. Ref: https://superuser.com/a/1360806