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
@piyushgarg-dev
piyushgarg-dev / README.md
Last active June 21, 2024 06:49
Kafka Crash Course
@chilampoon
chilampoon / http_load_balancer_setup_gcp.sh
Created July 14, 2021 20:51
Set up an HTTP load balancer with a managed instance group of 2 nginx web servers on Google Cloud Platform (Qwiklab)
# setup
gcloud auth list
gcloud config set compute/zone us-east1-b
gcloud config set compute/region us-east1
# create an instance template
cat << EOF > startup.sh
#! /bin/bash
apt-get update
apt-get install -y nginx
@bradtraversy
bradtraversy / node_nginx_ssl.md
Last active June 21, 2024 15:16
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@bradtraversy
bradtraversy / docker-help.md
Last active June 16, 2024 19:34
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@bradtraversy
bradtraversy / webdev_online_resources.md
Last active June 18, 2024 16:56
Online Resources For Web Developers (No Downloading)
@nikhita
nikhita / update-golang.md
Last active June 17, 2024 16:29
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: