Skip to content

Instantly share code, notes, and snippets.

View tuanpembual's full-sized avatar

Estu Fardani tuanpembual

View GitHub Profile

Estu Fardani | @tuanpembual kulikabel | kubernetes di gcp pake terraform

  • docker

  • linux

  • gitlab-ci

  • jira - trello

  • remote | wfa

@tuanpembual
tuanpembual / fgd.txt
Created March 11, 2021 13:05
FGD Belajar Sedekah
SOAL
Ada sebuah kapal. Ada 7 orang di kapal itu. Tiba-tiba, kapal bocor di lambungnya, dan tidak mungkin bisa diperbaiki lagi. Ada sebuah sekoci di kapal itu, dan hanya muat untuk 6 orang. Karena ada 7 orang, berarti harus ada satu orang yang harus dikorbankan. Ketujuh orang itu adalah:
1. Alex, kapten Kapal, terkenal cekatan dan pandai dalam menahkodai kapal, tetapi dulu dipecat dari jabatannya karena dia licik.
2. Bahrudin, seorang Kiai, berumur 76 tahun.
3. Edo, seorang perampok dan pembunuh bayaran. Tetapi telah berniat untuk bertobat.
4. Lisa, seorang guru yang sangat cerdas.
5. Indri, 38 tahun, sedang hamil 8 bulan
6. Aris, pemuda dengan keterbelakangan mental
7. Anda
@tuanpembual
tuanpembual / x230_fhd_5.5.9.patch
Last active March 23, 2020 08:45
Kernel 5.5.9 patch for FHD-modded Thinkpad X230
--- linux-5.5.9-1/drivers/acpi/pci_root.c 2020-03-12 13:33:05.000000000 +0700
+++ linux-5.5.9-x330-1/drivers/acpi/pci_root.c 2020-03-18 01:20:54.722132129 +0700
@@ -504,7 +504,7 @@
} else {
decode_osc_control(root, "OS requested", requested);
decode_osc_control(root, "platform willing to grant", control);
- dev_info(&device->dev, "_OSC failed (%s); disabling ASPM\n",
+ dev_info(&device->dev, "_OSC failed (%s); we keep ASPM on anyway\n",
acpi_format_exception(status));
apiVersion: apps/v1
kind: Deployment
metadata:
name: php-pesbuk
spec:
selector:
matchLabels:
run: php-pesbuk
replicas: 2
template:
@tuanpembual
tuanpembual / metabase.yml
Created March 20, 2019 06:38
Metabase on K8s
# Deploy the pods
apiVersion: apps/v1
kind: Deployment
metadata:
name: metabase
namespace: default
labels:
app: metabase
env: production
spec:
version: '3'
services:
nginx-proxy:
build: ./nginx
restart: unless-stopped
hostname: nginx
container_name: nginx
volumes:
- ./nginx:/etc/nginx/conf.d
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
sudo apt-get update
sudo apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
cd nodejs-aws-workshop/6\ -\ Kubernetes\ \(kops\)/code
tree
.
├── recipes
│   ├── characters.yml
│   ├── locations.yml
│   └── nginx.yml
└── services
├── characters
│   ├── db.json
@tuanpembual
tuanpembual / devops_training.txt
Created December 23, 2016 07:59 — forked from ssmythe/devops_training.txt
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)