Skip to content

Instantly share code, notes, and snippets.

@thecloudranger
thecloudranger / reference-links.md
Created December 2, 2024 01:15
[re:Invent 2024 - DEV206] Containers are not scary - Resources
@thecloudranger
thecloudranger / setup-colima-macbook.md
Last active June 12, 2024 16:30
Setting up colima in macbook

Overview

Captuing below steps to get colima to work with docker runtime nicely, including setup for volume to mount for databases.

  • Install colima

    brew install colima

  • Create an override YAML file

@thecloudranger
thecloudranger / go-dev-env-learning.md
Last active June 12, 2024 06:36
Go dev environment for learning

Overview

This is a gist for setting up a fresh learning environment to learn Go programming. Primary tools used:

  1. Docker
  2. VS Code
  3. VS Code extensions - Go, Remote Development, Docker
  4. Go runtime

Docker setup

@thecloudranger
thecloudranger / speaking.md
Last active February 16, 2024 09:50
Speaking gigs
@thecloudranger
thecloudranger / gist:2cb40812d0ec29a7ba9707fe0a48631b
Created November 30, 2023 01:26
BOA317 - Simplifying the Kubernetes Inner Development Loop - Resources
[Finch CLI - Open source clilent for container development](https://github.com/runfinch/finch)
@thecloudranger
thecloudranger / reference-links.md
Last active November 27, 2023 19:23
Reference links for reInvent 2023 - A Go developer's guide to building on AWS (BOA 201)
@thecloudranger
thecloudranger / gist:ce46db6d1b1c2a957b863969eb5470b6
Created November 11, 2023 10:23
MermaidJS diagram - Inner development loop for Kubernetes
sequenceDiagram
Participant D as Developer
Participant I as IDE
Participant Doc as Docker
Participant M as Minikube
Participant TC as Testcontainers
D->>I: Write Code/Tests
I-->>D: Run Unit Tests
D->>Doc: Build Images
@thecloudranger
thecloudranger / README.md
Last active September 2, 2023 20:06
Gitpod's openvscode-server on AWS Lightsail

On AWS console

  1. Create a new Ubuntu or Amazon Linux lightsail instance with a SSH keypair
  2. Open port 3000 on IPv4 firewall
  3. Go to https://github.com/gitpod-io/openvscode-server/releases and note down the latest version number (as of writing this gist the version number is 1.81.1)
  4. SSH into lightsail instance

In terminal

export SERVER_VERSION=1.81.1 # Replace with the latest version
@thecloudranger
thecloudranger / unix-worshop-commands.md
Last active August 30, 2023 18:38
UNIX workshop commands

Pull ubuntu image

docker pull ubuntu:latest

Spin up ubuntu container

docker run -it --rm ubuntu

bash commands

@thecloudranger
thecloudranger / instructions.md
Last active September 13, 2024 05:31
Amazon Linux 2023 on Windows with WSL 2
#Install Linux Kernel for WSL2, and use WSL2
Invoke-WebRequest -Uri https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi -OutFile wsl_update_x64.msi -UseBasicParsing
.\wsl_update_x64.msi /passive
wsl --set-default-version 2
wsl --update

# Download Amazon Linux 2023 distribution
Invoke-WebRequest -Uri https://github.com/rlove/AmazonLinux-2023-WSL/releases/download/v2023.1.20230705.0/AL2023.zip -OutFile $env:TMP\AL2023.zip
Expand-Archive -Path $env:TMP\AL2023.zip -DestinationPath C:\WSL\AL2023