This can help get a more readable diff
git diff --diff-algorithm=Minimal ./somefile
This can help get a more readable diff
git diff --diff-algorithm=Minimal ./somefile
find / -type f -name [file]
kubectl exec -ti <running_pod_name> /bin/bash
kubectl get pods
kubectl get services
kubectl describe <service_name>
| credit to https://github.com/mdkrog | |
| git checkout development | |
| git pull origin development | |
| git checkout your-local-branch | |
| git rebase -i development | |
| git push -f origin your-local-branch | |
| git checkout development | |
| git merge your-local-branch --ff-only | |
| git push origin development |
Let's you find out what process is listening on a particular port.
sudo lsof -i -P | grep 3000
Credit to
| { | |
| "presets": [ | |
| "es2015", | |
| "react" | |
| ] | |
| } |
| docker stop $(docker ps -a -q) | |
| docker rm $(docker ps -a -q) |
bundle gem my_libbundle installguard init rspec| docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) |
| credit to https://github.com/mdkrog | |
| git checkout development | |
| git pull origin development | |
| git checkout you-local-branch | |
| git rebase -i development | |
| git push -f origin your-local-branch | |
| git checkout development | |
| git merge your-local-branch --ff-only | |
| git push origin development |