AKZN Notes

Archives for My Lazy and Forgetful Mind

Category: Uncategorized

How to Make Vite Build Work on Filament Page

How to Make Vite Build Work on Filament Page Context: Filament 3 + Laravel 12 + Vite Difficulty: Beginner Prerequisites: Laravel 12, Filament 3, Vite configured if this article here still cant make vite build used on filament 3. try follow this steps Overview When you want to use custom CSS/JS assets (built with Vite) […]

Repair Git Broken Object / EntryNotFound (WSL / VS Code)

✅ Repair Git Broken Object / EntryNotFound (WSL / VS Code) 1️⃣ Backup working tree tar czf /tmp/repo-backup.tar.gz . 2️⃣ Fetch remote state git fetch origin 3️⃣ Create clean branch from remote git checkout -B recoverBranch origin/main 4️⃣ Restore file content from broken branch git checkout main — . Copies tracked files only. (tar restore […]

Deploying Web App with Docker + Apache Reverse Proxy

Deploying Web App with Docker + Apache Reverse Proxy 1) Apache as Reverse Proxy Use Apache on host to forward traffic to Docker containers. Key points: ProxyPreserveHost On RequestHeader set X-Forwarded-Proto "https" These keep the real domain instead of 127.0.0.1 inside Docker. Example: ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ 2) Enable Required Apache Modules sudo […]

Filament and vite integration

Integrating Filament 4 with Vite this article maybe incomplete because this information is compiled from my memory debugging my project. But the core information is here. I will add more when i stumbled accross this problem again on next project Filament 4 uses Laravel’s modern frontend tooling, and you can integrate it with Vite for […]

Camouflaging MikroTik from ISP

Camouflaging MikroTik from ISP Goal Reduce ISP visibility that the connected device is a MikroTik by masking: System identity DHCP client hostname WAN (ether1) MAC address Blocking management ports on WAN Firewall Rule Drop MikroTik management ports from WAN (ether1): /ip firewall filter add chain=input in-interface=ether1 protocol=tcp port=8291,8728,8729 action=drop comment="Block Mikrotik management from ISP side" […]

Setting Bridge Network With WDS on BOLT BL-201

Setting Bridge Network With WDS on BOLT BL-201 Server (AP – Access Point) Wireless Mode: Access Point (AP) Enable WDS: Yes SSID: Set your preferred SSID Encryption: WPA2-PSK (recommended) Key: Set your Wi-Fi password Assign to network: LAN Network → Interfaces br-lan: Interface for LAN Static IP: e.g., 192.168.1.1/24 Firewall zone: LAN Firewall Ensure LAN […]

Tutorial Installasi dan Koneksi Printer POS58 serta Drawer

Cara Install POS58 Install Driver POS58 Unduh driver dari Google Drive. Instal driver sesuai petunjuk instalasi bawaan file. Koneksikan Printer Thermal ke PC (Bluetooth – Windows 10) Nyalakan Bluetooth pada printer dan PC. Pasangkan perangkat dengan memilih RPP02N. Pilih opsi Bluetooth (bukan "Wireless Display"). Gunakan password pairing: 0000. Cek Port Koneksi di Device Manager Buka […]

Import Database into XAMPP MYSQL via Windows Shell / Command Prompt

Import Database into XAMPP MySQL via Windows Shell / Command Prompt When working with MySQL in XAMPP, importing a database via the command prompt is a quick and efficient option. This tutorial explains how to use the Windows Shell to import a database into XAMPP MySQL. Prerequisites XAMPP Installed: Ensure XAMPP is installed on your […]

VNC Armbian Server Setup

https://forum.armbian.com/topic/10330-remote-desktop-with-x11vnc/ With this you can control your Linux desktop from any other PC/SBC. I use lightdm as display manager. If you use another display manager, change the line After=lightdm.service with your display manager. To Install sudo apt install x11vnc To create a password file x11vnc -storepasswd The service script : /lib/systemd/system/x11vnc.service [Unit] Description="x11vnc" Requires=display-manager.service After=lightdm.service […]

Migrate vps to a new vps

Tutorial: Clone a Disk Over SSH with Compression This guide explains how to clone a disk (/dev/sda) from a source machine to a destination machine over SSH using dd and gzip for compression. Prerequisites Source Machine: Ensure dd, gzip, and ssh are installed. Destination Machine: Ensure gzip and ssh are installed. Network Setup: Both machines […]