Skip to content

Instantly share code, notes, and snippets.

View mohammad-quanit's full-sized avatar
👋
Hello There :-)

mquanit mohammad-quanit

👋
Hello There :-)
View GitHub Profile
@mohammad-quanit
mohammad-quanit / Intl_talks.txt
Last active April 23, 2024 14:48
My International Tech Talks & Sessions
Talk Title: Test Driven Development & Golang
Organizer: (CONF42):
Link: https://www.youtube.com/watch?v=mLuqyFSyBaU
Talk Title: Navigate Your Containerized Apps to Success with AWS Copilot
Organizer: AWS Hungary Community
Lnk:https://www.youtube.com/watch?v=k_oDg0XMRnQ&t=1242s
Talk Title: Developing Go apps with Docker
@mohammad-quanit
mohammad-quanit / Go Resources.txt
Last active February 4, 2024 20:04
Best Golang Resources in one place
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
@mohammad-quanit
mohammad-quanit / nextjs.yml
Created October 31, 2023 12:54
Nextjs yml file
# 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"]
@mohammad-quanit
mohammad-quanit / Dockerfile
Created March 21, 2023 18:59
Golang Multi Container docker file
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
@mohammad-quanit
mohammad-quanit / Dockerfile
Created March 21, 2023 18:57
Ubuntu Docker Image with Nginx Installed
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
@mohammad-quanit
mohammad-quanit / ec2.txt
Last active December 28, 2022 23:40
Useful Commands & Scripts for AWS EC2 Service
# 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