https://docs.google.com/document/d/14YlmMTqwqNdx-CWapwwIBMaakH5Z2UnAvOBQBB8AwQM/edit
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 characters
| > make start | |
| ./hack/bare-metal/startup/start.sh | |
| DNS resolution for spire.spike.ist: | |
| spire.spike.ist. 579395 IN A 127.0.0.1 | |
| Domain check passed. Continuing with the script... | |
| Data cleared successfully | |
| Building SPIKE binaries... | |
| !!! The symbols have been stripped from binaries for security. | |
| !!! Use 'readelf --symbols #binary_name#' to verify. |
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 characters
| /)/)/) /).-') | |
| ////((.'_.--' .(\(\(\ n/(/.')_ . | |
| ((((_/ .' .-`))))))) `-._ ('.' \`(\ | |
| (_._ ` ( `. (/ | \ ( `-.\ | |
| `-. \ `-. / `.`. \ \ | |
| `.`. | / /) \ \ | L | |
| `.`._. ||_ (() `.\ ) F | |
| (`._ `. < .'.-' \`-._____ || .' / | |
| `(\`._.._(\(\)_.'.'-------------.___ `-.(`._ `-./ / _.' .' |
I hereby claim:
- I am v0lkan on github.
- I am v0lk4n (https://keybase.io/v0lk4n) on keybase.
- I have a public key ASBcTEvSicIb6HbeItS2FiepUGtONh36RSDtysYu8GqcLgo
To claim this, I am signing this object:
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 characters
| #!/usr/bin/env bash | |
| # Dumps everything in your Kubernetes cluster into folders a YAML files. | |
| # Use it at your own risk. | |
| set -e | |
| CONTEXT=“$1” | |
| if [[ -z ${CONTEXT} ]]; then |
Based on this Digital Ocean tutorial
Create an /etc/nginx/snippets directory if it doesn’t exist:
sudo mkdir /etc/nginx/snippetsCreate a self signed .key and .crt file first:
If you don’t want to push your dependencies and tag them all the time
and just want to use whatever the local version of code you have to speed up local
development and also not break anyone’s code by merging unstable stuff to main,
then you can use replace in your go.mod.
The replace line goes above your require statements, as follows:
module github.com/zerotohero-dev/sample-go-app
Those colors are defined in LS_COLORS.
In the terminal
echo $LS_COLORSSave it to a text file, and edit to your heart’s desire.
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 characters
| # ref: https://go.dev/learn/ | |
| curl https://go.dev/dl/go1.19.1.linux-amd64.tar.gz | |
| rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz |
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 characters
| #!/usr/bin/env bash | |
| curl -fsSL https://get.docker.com -o get-docker.sh | |
| # ^ Read and verify the above script before executing the command below: | |
| sudo sh get-docker.sh | |
| # ref: https://docs.docker.com/engine/install/ubuntu/ |
NewerOlder