This file contains 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
Talk Title: Write your own Containers using GO | |
Organizer: TIL Conf 2024 | |
Link: https://www.youtube.com/live/HISw4wkNKfM?si=0HP4Xi2PjAkQPPUQ&t=3691 | |
Talk Title: Test Driven Development & Golang | |
Organizer: (CONF42): | |
Link: https://www.youtube.com/watch?v=mLuqyFSyBaU | |
This file contains 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
Text Based Resources:: | |
Go Tour by Ardan Labs - https://tour.ardanlabs.com/tour/eng/list | |
Official Go Tour by Go Team - https://tour.golang.org/welcome | |
Awesome Go Resources - https://awesome-go.com/ | |
Digital Ocean Go Series - https://www.digitalocean.com/community/tutorial-series/how-to-code-in-go | |
Free EBook by Nic Jackson - https://books.google.com.pk/books?id=B-dDDwAAQBAJ&printsec=frontcover&source=gbs_ge_summary_r&cad=0#v=onepage&q&f=false | |
Go for JS developers - https://www.pazams.com/Go-for-Javascript-Developers/ | |
Learn Go by building a REST API and a Command Line Interface (CLI) (Hands On) - https://learninggolang.com/ | |
Create a CLI based application by Andrew Davis Escalona - https://levelup.gitconnected.com/tutorial-how-to-create-a-cli-tool-in-golang-a0fd980264f |
This file contains 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
# Sample workflow for building and deploying a Next.js site to GitHub Pages | |
# | |
# To get started with Next.js see: https://nextjs.org/docs/getting-started | |
# | |
name: Deploy Next.js site to Pages | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["main"] |
This file contains 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
FROM golang:1.15-buster AS builder | |
EXPOSE 8000 | |
WORKDIR /app | |
COPY go.mod go.sum ./ | |
RUN go mod download | |
COPY greeter-server.go . | |
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /opt/greeter-server | |
# final build | |
FROM alpine:latest |
This file contains 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
ARG CODE_VERSION=20.04 | |
FROM ubuntu:${CODE_VERSION} | |
LABEL Creator="mquanit" | |
ENV TZ=Asia/Dubai | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
This file contains 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
# AWS EC2 Commands & Scripts | |
sudo su | |
yum update -y | |
**Getting metadata and other details of your ec2 instance** | |
curl http://169.254.169.254/latest/meta-data | |
curl http://169.254.169.254/latest/meta-data/ami-id | |
curl http://169.254.169.254/latest/meta-data/hostname |