Skip to content

Instantly share code, notes, and snippets.

View Tiduster's full-sized avatar

Christian Patry Tiduster

View GitHub Profile
@Tiduster
Tiduster / latency-singapore.sh
Last active September 30, 2022 16:32
Latency Test AWS Singapore
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
REGION_ARRAY=('ap-southeast-1')
SERVICE_ARRAY=('ecr' 's3' 'dynamodb')
PROBE_COUNT=300
@Tiduster
Tiduster / latency.sh
Created September 16, 2022 16:37
Latency Test AWS
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
REGION_ARRAY=('us-east-1' 'eu-west-1' 'af-south-1' 'ap-southeast-1' 'ap-southeast-2' 'ap-south-1' 'ap-northeast-2')
SERVICE_ARRAY=('ecr' 's3' 'dynamodb')
PROBE_COUNT=20
@Tiduster
Tiduster / postgres-deps.py
Created November 25, 2020 14:30
Generating a dependency graph for Postgres DB
# From https://sigterm.sh/2010/07/09/generating-a-dependency-graph-for-a-postgresql-database/
# Converted to Python3
# Add config fort dbport
# Increase PNG Size
# pylinting
from optparse import OptionParser, OptionGroup
import sys
import psycopg2
@Tiduster
Tiduster / AWSPro.md
Last active October 27, 2024 01:38
AWS Certified Solutions Architect Professional Cheat Cheets for Senior Engineer - August 2023