An interesting case study - GitHub services outage

This interesting video by Kevin Fang explains the events very well.

June 14, 2023 · 1 min · Anant

sudo dhclient eth0 everytime Linux starts

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

June 11, 2023 · 1 min · Anant

Docker

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

May 31, 2023 · 1 min · Anant

Something Already Running on Port XXX

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

February 25, 2023 · 1 min · Anant

New Git Bash Terminal From Existing

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

February 25, 2023 · 1 min · Anant