Skip to content

Instantly share code, notes, and snippets.

Avatar

Estu Fardani tuanpembual

View GitHub Profile
@tuanpembual
tuanpembual / x230_fhd_5.5.9.patch
Last active Mar 23, 2020
Kernel 5.5.9 patch for FHD-modded Thinkpad X230
View x230_fhd_5.5.9.patch
--- 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));
View estu.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: php-pesbuk
spec:
selector:
matchLabels:
run: php-pesbuk
replicas: 2
template:
View tugas-contoh.yml
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
View docker.md
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 \
View metabase.yml
# Deploy the pods
apiVersion: apps/v1
kind: Deployment
metadata:
name: metabase
namespace: default
labels:
app: metabase
env: production
spec:
View gist:56a5b577cb2ff044d0812f625879f294
cd nodejs-aws-workshop/6\ -\ Kubernetes\ \(kops\)/code
tree
.
├── recipes
│   ├── characters.yml
│   ├── locations.yml
│   └── nginx.yml
└── services
├── characters
│   ├── db.json
View JobGithub_PostBuild.groovy
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)
View JobGithub_BuildStep.groovy
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)
View JobGithub_SCM.groovy
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)
View JobGithub_General.groovy
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)
You can’t perform that action at this time.