This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in path folder | |
# bikin folder copy | |
for /d %d in (*) do xcopy "%d\.*" "copy\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Informasi koneksi database | |
DB_USER="username" | |
DB_PASSWORD="password" | |
DB_NAME="nama_database" | |
DB_HOST="localhost" | |
# Direktori tempat menyimpan backup | |
BACKUP_DIR="/path/to/backup_directory" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
─❯ cat asci-art/aji.txt ─╯ | |
,,_ | |
zd$$??= | |
z$$P? F:`c, _ | |
d$$, `c'cc$$i ,cd$?R | |
$$$$ cud$,?$$$i ,=P"2?z " | |
$" " ?$$$,?$$$. ,-''`>, bzP | |
'cLdb,?$$,?$$$ ,h' "I$'J$P | |
... `?$$$,"$$,`$$h $$PxrF'd$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### Compatible Images | |
# Ubuntu 18.04 LTS | |
# Debian 10 | |
# Ubuntu 20.04 LTS | |
# Ubuntu 22.04 LTS | |
# Debian 12 | |
################################################################# | |
# A DevOps Toolbox that installs Terraform, Docker and Kubernetes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Output of kubectl get all:" | |
kubectl get all | |
echo | |
echo "Output of kubectl get ingress:" | |
kubectl get ing | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## unit_test.c | |
#include <stdio.h> | |
#include <assert.h> | |
int tambah(int a, int b) { | |
return a + b; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╰─❯ tree ─╯ | |
. | |
├── go.mod | |
├── main.go | |
└── main_test.go | |
### main.go | |
package main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## jalan pintas kubernetes | |
# get ip | |
kgs -n argocd argocd-server -o json | jq -r '.status.loadBalancer.ingress[0].ip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at 08:49:47 ─╮ | |
╰─❯ tree . -I "vendor|composer.lock" ─╯ | |
. | |
├── composer.json | |
└── src | |
├── index.php | |
└── MathFunctionsTest.php | |
1 directory, 3 files |
NewerOlder