Skip to content

Instantly share code, notes, and snippets.

View sagoyanfisic's full-sized avatar
🎯
Focusing

Yancel Moises sagoyanfisic

🎯
Focusing
View GitHub Profile
@sagoyanfisic
sagoyanfisic / StopServices-At-Scheduled-Interval.yaml
Created September 2, 2023 18:41 — forked from roxsross/StopServices-At-Scheduled-Interval.yaml
Yaml template to stop AWS Services like RDS, Aurora, EKS in scheduled interval
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: Yaml template to stop AWS Services like RDS, Aurora, EKS in scheduled interval
Parameters:
#general params
ScheduleExpression:
Type: String
Description: Schedule expressions using cron
Default: cron(30 4 * * ? *)
@sagoyanfisic
sagoyanfisic / myprofiler.py
Created October 5, 2022 21:27 — forked from methane/myprofiler.py
Casual MySQL profiler using "SHOW FULL PROCESSLIST"
#!/usr/bin/env python
# coding: utf-8
"""myprofiler - Casual MySQL Profiler
https://github.com/methane/myprofiler
"""
import os
import sys
@sagoyanfisic
sagoyanfisic / api_backends.conf
Created March 16, 2022 21:48 — forked from nginx-gists/api_backends.conf
Deploying NGINX Plus as an API Gateway, Part 1
upstream warehouse_inventory {
zone inventory_service 64k;
server 10.0.0.1:80;
server 10.0.0.2:80;
server 10.0.0.3:80;
}
upstream warehouse_pricing {
zone pricing_service 64k;
server 10.0.0.7:80;