Skip to content

Instantly share code, notes, and snippets.

View palalabot's full-sized avatar
👋
hello world!

Joe palalabot

👋
hello world!
View GitHub Profile
@palalabot
palalabot / git_pr_code_review.md
Created August 29, 2026 14:39
git-pr-code-review-in-a-gist

Preface

In high-velocity development environments, catching defects, exposed secrets, and unformatted code after a Pull Request is opened creates noise, delays peer reviews, and pollutes git history.

This repository provides a lightweight local automation framework designed to intercept code at the most critical boundary: after files are staged (git add), but before they are saved to your local history (git commit). By automating fast, deterministic checks and local AI audits before code ever hits remote servers, developers can maintain a clean commit history and present higher-quality code for human peer review.


Overview & Summary

@palalabot
palalabot / docker-newb-laravel-lamp-setup.md
Created August 16, 2026 11:12
the docker k8s newb guide to deploying your digitalocean lamp setup

WSL → Local Argo CD → DigitalOcean k3s

Goal: Run Argo CD locally on your 4 GB Windows PC, while Argo CD manages your production Laravel cluster on DigitalOcean.

Windows
└── WSL2
    └── Docker
        └── k3d
            └── Argo CD
@palalabot
palalabot / README.md
Created July 27, 2026 12:18
Debugging DigitalOcean MongoDB Connectivity in Podman vs. Podman-Compose

Improved Prompt

"My app connects to DigitalOcean Managed MongoDB via podman run, but fails via podman-compose. What networking, DNS, or Podman rootless differences cause this, and how do I fix it?"


The Issue Explained Simply

DigitalOcean uses an IP whitelist ("Trusted Sources").

@palalabot
palalabot / method_2_cloudflare_cli.md
Created July 26, 2026 14:29
allowlisting things

Method 2: Using flarectl (Cloudflare's CLI Tool)

If you prefer clean CLI syntax instead of writing raw curl commands, you can use flarectl, a CLI wrapper built by Cloudflare.

Step 1: Install flarectl

If you have Go installed:

go install github.com/cloudflare/cloudflare-go/cmd/flarectl@latest
@palalabot
palalabot / devops-with-podman.md
Created July 26, 2026 05:23
how to do basic devops

For a Docker locally + Podman in production setup, the common flow is:

Production server using Podman Compose

cd /path/to/project

git pull

podman-compose build
@palalabot
palalabot / digitalocean-mern-stack-setup-prompt.md
Created July 25, 2026 14:05
Digitalocean mern stack setup prompt

Build a Production-Ready DigitalOcean MERN Stack with Managed MongoDB

Create a complete, production-ready MERN-stack application deployment setup using:

  • React
  • Node.js
  • Express
  • TypeScript
  • DigitalOcean Ubuntu VPS/Droplet
  • DigitalOcean Managed MongoDB
@palalabot
palalabot / linux_advanced.md
Created July 25, 2026 06:31
linux advanced overview

Myria-glot Academy

Myria is the other word for 'many', alternative to 'poly'

Advanced Linux Tools, Editors, SSH, Git, sed, and awk

This guide continues from the Linux basics and introduces terminal shortcuts, text editors, text processing, remote server access, SSH keys, Git, and GitHub.


1. Terminal Keyboard Shortcuts

@palalabot
palalabot / PALUWAGAN_2.0.md
Created July 12, 2026 12:29
What is Paluwagan

What is Paluwagan?

Paluwagan is a traditional Filipino community savings system based on trust, discipline, and bayanihan (mutual cooperation). It is a form of a Rotating Savings and Credit Association (ROSCA), a model that has existed around the world for generations under different names.

How It Works

A group of people voluntarily agrees to contribute a fixed amount of money on a regular schedule (weekly or monthly).

For example:

@palalabot
palalabot / README.md
Last active June 14, 2026 01:56
Taiwanese directions and phrases

Taiwan Tourist Survival Guide

Milk Tea, Directions, Numbers, MRT, and Common Phrases


How Mandarin Tones Work

Taiwanese Mandarin uses tones. Think of them as pitch patterns.

| Symbol | Meaning | Example |

@palalabot
palalabot / claude-anki-quiz.php
Created June 8, 2026 03:25
claude-anki-quiz.php
#!/usr/bin/env php
<?php
// ANSI escape codes for terminal formatting
$reset = "\033[0m";
$green = "\033[32m";
$red = "\033[31m";
$yellow = "\033[33m";
$cyan = "\033[36m";
$bold = "\033[1m";