Skip to content

Instantly share code, notes, and snippets.

View linuxmalaysia's full-sized avatar
🏠
Working from home

Harisfazillah Jamel linuxmalaysia

🏠
Working from home
View GitHub Profile
@linuxmalaysia
linuxmalaysia / dosm-for-my-ai.md
Last active January 28, 2026 22:05
Operational Sovereignty through Metacognitive Governance: Integrating the Deep State of Mind Protocol with CAPM and Git-Native PMO Frameworks

Operational Sovereignty through Metacognitive Governance: Integrating the Deep State of Mind Protocol with CAPM and Git-Native PMO Frameworks

The Deep State of Mind (DSOM) protocol serves as a metacognitive governance framework designed to establish an active, persistent bridge between human architectural intent and machine execution. By transforming documentation from a passive record into a sovereign ecosystem, the protocol ensures high-fidelity continuity across diverse AI agents and distributed teams.


1. Theoretical Framework of Operational Sovereignty

Architectural sovereignty is maintained by authorizing local brain artifacts within the .agent/brain/ directory as the absolute Single Source of Truth (SSoT). This approach prevents vendor lock-in, making project knowledge portable across various AI models such as Google Gemini, Anthropic Claude, or local LLMs.

Sovereignty is operationalised through the 5W1H Framework:

@linuxmalaysia
linuxmalaysia / pemasangan_minio_ubuntu2404_podman.md
Last active October 10, 2025 13:30
Panduan Ringkas: Pemasangan MinIO di Ubuntu 24.04 Menggunakan Podman

Panduan Ringkas: Pemasangan MinIO di Ubuntu 24.04 Menggunakan Podman

Tujuan: Dokumen ini adalah versi yang sesuai untuk dikongsi secara awam. Semua alamat IP sebenar, nama pengguna, dan kata laluan telah digantikan dengan contoh/tempahan supaya tidak mendedahkan maklumat sensitif.

Nota penting: Sentiasa gantikan nilai contoh di bawah (<...>) dengan nilai sebenar yang selamat dan unik apabila mengimplementasikan pada persekitaran produksi.

Gambaran keseluruhan

Panduan ini menerangkan langkah utama untuk:

@linuxmalaysia
linuxmalaysia / Mini UbuCon Malaysia 2025 Share Your Voice Shape the Future.md
Last active July 27, 2025 22:58
Mini UbuCon Malaysia 2025 Share Your Voice Shape the Future. As Ubuntu and open source communities continue to grow, this event aims to bring together passionate developers, technologists, and enthusiasts from across Malaysia.

🚀 Mini UbuCon Malaysia 2025: Share Your Voice, Shape the Future! 🐧

We’re thrilled to announce that planning for Mini UbuCon Malaysia 2025 is officially in motion! As Ubuntu and open source communities continue to grow, this event aims to bring together passionate developers, technologists, and enthusiasts from across Malaysia.

🔗 Fill in our Community Survey
Have a say in shaping the agenda, format, and topics for Mini UbuCon 2025:
👉 https://form.ubuntu.my/2025/ubucon/

💡 Why Your Input Matters
Mini UbuCon is built by the community, for the community. Whether you’re excited to attend, want to propose a talk, or simply have ideas on what we should cover — we want to hear from you:

@linuxmalaysia
linuxmalaysia / Percona PostgreSQL Cluster Operations: A Public Guide to Management, Minor Upgrades, Performance Tuning, and Troubleshooting.md
Created July 27, 2025 22:31
This comprehensive guide details the procedures for managing and performing a minor version upgrade of a Percona Distribution for PostgreSQL cluster, which is orchestrated by Patroni and relies on etcd for distributed consensus. This document also includes an explanation of key diagnostic outputs for cluster monitoring. All sensitive information…
@linuxmalaysia
linuxmalaysia / Granular-System-Monitoring-with-sysstat-on-AlmaLinux-9.md
Created July 25, 2025 15:11
Granular System Monitoring with sysstat on AlmaLinux 9

🛠️ How-To: Granular System Monitoring with sysstat on AlmaLinux 9

🎯 Objective

Deploy sysstat to collect system performance data every 60 seconds, enabling real-time visibility and historical analysis.


1. 🔧 Install sysstat

@linuxmalaysia
linuxmalaysia / es_ingestion_monitor.sh
Last active July 11, 2025 13:20
script for es_ingestion_monitor.sh
#!/bin/bash
# Configuration
ES_HOST="https://your-es-cluster.example.com:9200" # Your Elasticsearch host, IP address and port (e.g., "https://127.0.0.1:9200" or "https://<cloud_id>.es.<region>.gcp.cloud.es.io:9243")
# ES_USER="elastic" # If using username/password, uncomment and replace with your username
# ES_PASS="your-elastic-password" # If using username/password, uncomment and replace with your password
ES_TOKEN="your-generated-service-account-token" # If using a service account token, uncomment and replace with your token value
INTERVAL_SECONDS=10 # How often to check and calculate (e.g., 10 seconds)
# --- Authentication Header Setup ---
@linuxmalaysia
linuxmalaysia / php-fpm-slowlog.sh
Last active July 9, 2025 22:51
this script automates the process of sifting through potentially large slow log files to provide actionable insights into your PHP application's performance bottlenecks over time.
#!/bin/bash
# Define the path to your PHP-FPM slow log file
LOG_FILE="/var/log/www.log.slow"
# Check if the log file exists
if [ ! -f "$LOG_FILE" ]; then
echo "Error: Log file '$LOG_FILE' not found."
exit 1
fi

To help you craft a prompt for deep self-research across public information sources or AI knowledge bases, here's a structured approach and guidance on the details to include.

Your Self-Research Prompt Template

"Please conduct a comprehensive deep-dive research on [Your Full Name]. Focus on gathering publicly available information across various online platforms, historical records (if applicable and public), and any associated data within your knowledge base.

Prioritize information that reveals:
1.  **Professional Presence:** Roles, companies, projects, publications, presentations, patents, open-source contributions, and any publicly recognized achievements.
2.  **Academic Background:** Educational institutions, degrees, notable academic projects, research papers, or certifications.
# --- General System Resource Limits ---
# Increase the maximum number of memory map areas a process may have.
# This helps prevent out-of-memory errors for applications like Nginx that handle many connections,
# each potentially requiring its own memory mappings. Your value of 262144 is well-suited.
vm.max_map_count = 262144
# Increase the maximum number of file handles available system-wide.
# Nginx, especially as a reverse proxy or load balancer, opens a large number of file descriptors
# for incoming client connections, outgoing backend connections, log files, and cached content.
# Generated by nginxconfig.io
# See nginxconfig.txt for the configuration share link
# Note in comments by Harisfazillah Jamel and Google Gemini
# 15 Jun 2025
user www-data;
pid /run/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 65535;