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:
/)/)/) /).-') | |
////((.'_.--' .(\(\(\ n/(/.')_ . | |
((((_/ .' .-`))))))) `-._ ('.' \`(\ | |
(_._ ` ( `. (/ | \ ( `-.\ | |
`-. \ `-. / `.`. \ \ | |
`.`. | / /) \ \ | L | |
`.`._. ||_ (() `.\ ) F | |
(`._ `. < .'.-' \`-._____ || .' / | |
`(\`._.._(\(\)_.'.'-------------.___ `-.(`._ `-./ / _.' .' |
I hereby claim:
To claim this, I am signing this object:
#!/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/snippets
Create 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_COLORS
Save it to a text file, and edit to your heart’s desire.
# 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 |
#!/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/ |
# Replace 16 with the version you want to install: | |
curl -sL https://rpm.nodesource.com/setup_16.x | sudo bash - | |
# You might need these too: | |
sudo yum install gcc-c++ make | |
# Then install node: | |
sudo yum install nodejs | |
# Verify node: |
export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) | |
export OS=$(uname | awk '{print tolower($0)}') |