Skip to content

Instantly share code, notes, and snippets.

View alifhaikal88's full-sized avatar
💭
I may be slow to respond.

Alif Haikal Razak alifhaikal88

💭
I may be slow to respond.
  • Squickydoodle
  • Germany
View GitHub Profile
@alifhaikal88
alifhaikal88 / AXP_LOGGING_STANDARDS.md
Created August 10, 2025 08:14
Axaipay Backend Logging Standards - Payment Controller Audit Trail Guidelines

Payment Controller Logging Standards

Overview

This document establishes the standardized logging patterns used in FPXController and RevPayController to ensure consistent logging across all payment processing modules in the Axaipay backend.

Core Logging Principles

1. Structured Audit Trail Format

All payment-related logs follow a structured format that includes:

  • Audit Tag: Clear identification of the payment system (e.g., [FPX_AUDIT], [REVPAY_AUDIT])
@alifhaikal88
alifhaikal88 / claude-code-token-saving-guide.md
Created August 10, 2025 07:56 — forked from artemgetmann/claude-code-token-saving-guide.md
Practical workflow for reducing token usage in Claude Code while preserving session continuity. Includes compacting strategies, CLAUDE.md structure, modular context management, and prompt engineering tips.

🧠 How to Save Context Tokens When Using Claude Code

This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).


✅ Setup: Populate CLAUDE.md

Claude loads CLAUDE.md automatically at session start.

@alifhaikal88
alifhaikal88 / MWP_USER_ACTIVITY_LOGGING.md
Last active August 7, 2025 03:16
MyWira User Activity Logging System Documentation - Updated

User Activity Logging System

A scalable, non-blocking user activity logging system for Spring Boot applications using PostgreSQL. This system provides selective method-level activity tracking through AOP (Aspect-Oriented Programming) with the @UserLogActivity annotation.

Table of Contents

@alifhaikal88
alifhaikal88 / MWP_SYSTEM_ARCHITECTURE.md
Last active August 7, 2025 03:12
MyWira Portal (MWP) System Architecture

MyWira Backend System Architecture

1. System Components

Backend Application (Spring Boot)

  • Technology Stack: Java 11, Spring Boot 2.7.18, Maven
  • Main Class: com.isianpadu.mywira.Application.java
  • Deployment: WAR packaging for Tomcat deployment
  • Context Path: /api
@alifhaikal88
alifhaikal88 / AXP_INTERN_TODO_STATUS_BADGES.md
Last active August 4, 2025 01:49
AXP Intern Todo: Status Badge Enhancement Documentation - Comprehensive guide for intern to recreate status badge enhancement changes from commit 98735d396de21f66f9a428128d98d410ce5965bf

Intern Todo: Status Badge Enhancement and Label Updates

Overview

This document outlines the tasks to recreate changes from commit 98735d396de21f66f9a428128d98d410ce5965bf. The goal is to enhance status badges with tooltips and update filter labels for better UI brevity.

Project Context

  • Target Files:
    • src/_metronic/_helpers/PaymentHelpers.js
    • src/app/modules/payments/salesTransactions/SalesTransactionsPage.js
  • Objective: Replace verbose status text with abbreviated badges + tooltips, and shorten filter labels
@alifhaikal88
alifhaikal88 / AXP_STATUS_BADGES_DOCUMENTATION.md
Last active August 3, 2025 15:24
AXP-Payment Status Badges Documentation - Complete reference for all payment status badges with short forms and tooltips

Payment Status Badges Documentation

Axaipay Logo

This document provides a comprehensive reference for all payment status badges used in the AXAIPay system.

Overview

All status badges use 2-letter abbreviations for better UI space efficiency and include tooltips that display the full meaning on hover.

@alifhaikal88
alifhaikal88 / PostSalesTransactionTrigger_Deadlock_Prevention_Refactoring.md
Created July 30, 2025 09:57
PostSalesTransactionTrigger Deadlock Prevention Refactoring - Evolution from RabbitMQ Queues to Spring Events

PostSalesTransactionTrigger Deadlock Prevention Refactoring

Overview

Original Commit: 89f31423ade0df79ceee6bc75a33ab23cda1e818
Final Implementation: Spring Event-driven Architecture
Author: Alif Haikal [email protected]
Date: Wed Jul 30 2025

This document provides a comprehensive analysis of the refactoring implemented to prevent deadlocks in the PostSalesTransactionTrigger class. The solution evolved from an initial RabbitMQ queue-based approach to a final Spring Event-driven architecture that successfully resolves both deadlock issues and transaction persistence problems.

@alifhaikal88
alifhaikal88 / AXP - Complete_SSL_Replacement_Steps.md
Last active July 27, 2025 07:55
AXP - Complete SSL Certificate Replacement Steps - Nginx, Spring Boot, Jenkins Docker Integration

Complete SSL Certificate Replacement Steps

Date: July 25, 2025
Certificate: *.axaipay.my (Sectigo)
Server: [email protected]
Target: staging.axaipay.my:9999

Overview

Complete step-by-step record of replacing expiring SSL certificate (Aug 8, 2025) with new certificate (valid until Aug 25, 2026).

@alifhaikal88
alifhaikal88 / AXP - PKCS12_Generation_Guide.md
Last active July 25, 2025 01:20
AXP - PKCS#12 Certificate Generation Guide

PKCS#12 Certificate Generation Guide

Overview

This guide documents the process of generating a PKCS#12 certificate file from Sectigo SSL certificates for use with Spring Boot applications.

Prerequisites

  • SSL certificate files from Sectigo
  • Private key file (generated during CSR creation)
  • OpenSSL installed on the system
@alifhaikal88
alifhaikal88 / 2019-https-localhost.md
Created June 24, 2023 06:04 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).