Skip to content

Instantly share code, notes, and snippets.

@indraAsLesmana
indraAsLesmana / githubactionn8n.md
Last active August 20, 2026 06:24
Wake-on-Demand GitHub Actions Self-Hosted Runner n8n

Wake-on-Demand GitHub Actions Self-Hosted Runner

Eliminate the "idle RAM tax" of a 24/7 build VM — suspend it when idle, wake it only when a job needs it, and fully shut it down after an hour of being paused.

A complete, working recipe using: Proxmox (VM suspend/resume) + Cloudflare Tunnel (public endpoint, no port-forwarding) + n8n (webhook control plane on a tiny always-on ARM box) + GitHub Actions (workflow_job webhook events).


The Problem

@indraAsLesmana
indraAsLesmana / gist:c321ed0dd8b32e82add85a9a7fc37321
Last active August 20, 2026 03:24
Wake-on-Demand GitHub Actions Self-Hosted Runner

Wake-on-Demand GitHub Actions Self-Hosted Runner

Eliminate the idle RAM tax of a 24/7 build VM — wake it only when a job needs it.

A complete, working recipe for running a self-hosted GitHub Actions runner (Flutter/Android APK/AAB builds) on a Proxmox VM that suspends when idle and wakes automatically when GitHub queues a job — using an always-on low-power ARM SBC (Armbian) as the control plane, and a Cloudflare Tunnel to receive GitHub webhooks without exposing any port or public endpoint on the LAN.


The Problem

@indraAsLesmana
indraAsLesmana / 9router-cachyos.md
Last active July 28, 2026 05:24
How to Install and Configure 9router on CachyOS (Fish Shell)

How to Install and Configure 9router on CachyOS (Fish Shell)

A step-by-step guide to installing 9router cleanly without sudo permissions issues, and routing Antigravity IDE traffic through your local gateway.

1. Configure npm for Non-Root Global Installs

By default, global npm packages on Arch/CachyOS attempt to write to /usr/lib/node_modules/, causing EACCES permission errors. Set up a local user directory instead:

@indraAsLesmana
indraAsLesmana / PS5dumptoExfat.md
Created May 29, 2026 04:33
PS5 convert backup/folder game to .exfat format

Building Sector-Aligned PS5 .exfat Images Natively on Linux

in this case converting raw backup game into .exfat file fixing crackling audio issue on Saros games.

Prerequisites

Ensure you have the required filesystem tools installed on your Arch-based distribution (e.g., CachyOS, EndeavourOS, Arch):

sudo pacman -S exfatprogs rsync
@indraAsLesmana
indraAsLesmana / install.sh
Last active July 6, 2026 06:54
How to Install AdGuard Home on OpenWrt: The Easy Way
#!/bin/sh
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color
echo -e "${YELLOW}Starting AdGuard Home Installation for OpenWrt...${NC}"
{
"jsonrpc": "2.0",
"id": 1,
"result": [
0,
{
"code": 0,
"stdout": "{\"columns\":[\"family\",\"proto\",\"port\",\"mac\",\"ip\",\"conns\",\"rx_bytes\",\"rx_pkts\",\"tx_bytes\",\"tx_pkts\",\"layer7\"],\"data\":[[4,\"UDP\",443,\"4c:5e:0c:f8:be:9f\",\"192.168.2.254\",12652,11141337050,9172011,800831996,4141133,\"QUIC\"],[4,\"UDP\",443,\"b4:e2:65:c5:8f:06\",\"192.168.2.167\",4728,6914754356,5549622,263701657,2337605,\"QUIC\"],[6,\"TCP\",443,\"7a:06:42:dc:fa:8e\",\"2405:8180:803:d677:5469:77e7:254f:2296\",2130,5653553529,4467079,340263851,3654371,\"HTTPS\"],[4,\"TCP\",443,\"4c:5e:0c:f8:be:9f\",\"192.168.2.254\",19816,3803328481,2872284,225952923,1953239,\"HTTPS\"],[4,\"UDP\",443,\"b4:e2:65:c4:85:8f\",\"192.168.2.160\",1365,2914061758,2322067,98141898,953289,\"QUIC\"],[6,\"UDP\",443,\"7a:06:42:dc:fa:8e\",\"2405:8180:803:d677:5469:77e7:254f:2296\",1686,1691385131,1428411,73145668,436700,\"QUIC\"],[6,\"TCP\",443,\"3e:2e:5f:e5:c2:90\",\"2405:8180:803:d677:1986:4eec:34
@indraAsLesmana
indraAsLesmana / UDPBD-Server-Arm
Last active October 26, 2025 08:57
PS2 UDPBD Server on ARM XEB+
install:
pull project https://github.com/israpps/udpbd-server
cd udpbd-server/
make
install .NET 8.0 for arm:
sudo apt update
sudo apt install -y curl libssl-dev libicu-dev libkrb5-dev zlib1g
@indraAsLesmana
indraAsLesmana / check_wwan.sh
Last active September 10, 2025 09:12
Orbit Pro HKM281: Auto Restart WWAN Interface OpenWRT
#!/bin/sh
# =============================================================================
#
# OpenWrt LTE/Cellular Connection Watchdog
# Created by: Indra L.N.
#
# =============================================================================
#
# PURPOSE:
You're correct in identifying the issue: on Pop!\_OS (and Ubuntu-based systems), the `Ctrl+Shift+E` shortcut is often intercepted by the **IBus input method framework**, which uses this combination to trigger its **emoji annotation** feature. This interception prevents applications like VS Code from receiving the shortcut, rendering it ineffective for functions like opening the Explorer view.([Ask Ubuntu][1])
---
### ✅ Solution: Disable or Reassign the Emoji Shortcut in IBus
To resolve this conflict, you can either **disable** the emoji shortcut or **reassign** it to a different key combination. Here's how:
#### **Option 1: Disable the Emoji Shortcut**
{
"configurations": [
{
"name": "Wrangler",
"type": "node",
"request": "attach",
"port": 9229,
"cwd": "/",
"resolveSourceMapLocations": null,
"attachExistingChildren": false,