Skip to content

Instantly share code, notes, and snippets.

View acheampong-tech's full-sized avatar

SAMMY acheampong-tech

  • 19:22 (UTC -05:00)
View GitHub Profile
@acheampong-tech
acheampong-tech / update-git.sh
Created June 24, 2023 14:28 — forked from YuMS/update-git.sh
Update git to latest version on Ubuntu
#!/bin/bash
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git -y
@acheampong-tech
acheampong-tech / vpc-public-private-eu-west-1.template
Created March 10, 2023 22:10 — forked from ckimrie/vpc-public-private-eu-west-1.template
AWS Cloudformation template to create a VPC with three public/private subnet pairs with default internet gateway routes configured.
Description:
This template deploys a VPC, with a three public and private subnets spread
across three Availability Zones. It deploys an Internet Gateway, with a default
route on the public subnets. It deploys a pair of NAT Gateways (one in each AZ),
and default routes for them in the private subnets.
Parameters:
EnvironmentName:
@acheampong-tech
acheampong-tech / nginx_deployment.yaml
Created February 23, 2023 06:10 — forked from petitviolet/nginx_deployment.yaml
sample Nginx configuration on Kubernetes using ConfigMap to configure nginx.
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-conf
data:
nginx.conf: |
user nginx;
worker_processes 3;
error_log /var/log/nginx/error.log;
events {