Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View misskecupbung's full-sized avatar
Thinking ...

Ananda Dwi Ae misskecupbung

Thinking ...
View GitHub Profile
misskecupbung /
Created April 22, 2024 15:02
AWS Network Firewall + Multi-Cluster Amazon EKS

Currently i’m still cooking the dishes.

misskecupbung / IEProxy.ps1
Created December 11, 2023 16:23 — forked from kkbruce/IEProxy.ps1
Get-Set-Remove IE Proxy Settings by PowerShell
# Get IE Proxy Settings
Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
# Set IE Proxy Settings
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 1
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer -value [IPorDomain:Port]
# Remove IE Proxy Setings
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 0
Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer
require_once "method.php";
$mhs = new Mahasiswa();
switch ($request_method) {
case 'GET':
require_once "koneksi.php";
class Mahasiswa
public function get_mhss()
global $mysqli;
$query="SELECT * FROM tbl_mahasiswa";

Task 1. Download the monolith code and build your container

git clone

cd ~/monolith-to-microservices

cd ~/monolith-to-microservices/monolith
npm start
import boto3
def GetInstanceRunning():
client = boto3.client('ec2')
ec2_regions = [region['RegionName'] for region in client.describe_regions()['Regions']]
for region in ec2_regions:
ec2 = boto3.resource('ec2')
instances = ec2.instances.filter(Filters=[{'Name': 'instance-state-name', 'Values': ['running']}])
return [ for instance in instances]
BACKUP_NAME = wp-backup
velero restore create --from-backup $BACKUP_NAME