Last active
October 22, 2020 20:26
-
-
Save f1r3starter/2fa6003c660142a1a40c8b4c12865338 to your computer and use it in GitHub Desktop.
Revisions
-
f1r3starter revised this gist
Oct 5, 2020 . 1 changed file with 40 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,44 @@ Packet manager installation: ``` /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ``` PHPStorm hotkeys are little bit different: ``` https://resources.jetbrains.com/storage/products/phpstorm/docs/PhpStorm_ReferenceCard.pdf ``` Docker Edge with mutagen: ``` https://docs.docker.com/docker-for-mac/edge-release-notes/ ``` Minikube installation guide (for me, works better with HyperKit rather than with VirtualBox): ``` https://kubernetes.io/docs/tasks/tools/install-minikube/ ``` Skaffold for better local development experience: ``` https://skaffold.dev/docs/quickstart/ ``` Terminal shell: ``` https://github.com/ohmyzsh/ohmyzsh ``` Script to execute on your local machine if you are having troubles with network inside container: ``` #!/bin/bash interfaces=( $(netstat -in | egrep 'utun\d .*\d+\.\d+\.\d+\.\d+' | cut -d ' ' -f 1) ) rulefile="rules.tmp" echo "" > $rulefile sudo pfctl -a com.apple/tun -F nat for i in "${interfaces[@]}" do RULE="nat on ${i} proto {tcp, udp, icmp} from 192.168.64.0/24 to any -> ${i}" echo $RULE >> $rulefile done sudo pfctl -a com.apple/tun -f $rulefile ``` -
f1r3starter renamed this gist
Oct 5, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
f1r3starter created this gist
Oct 5, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ Packet manager installation: ``` /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ```