Skip to content

Instantly share code, notes, and snippets.

@siagung
siagung / gist:45417d3121c451c0143b841b89eff960
Last active July 3, 2025 07:47
Setup Caddy+FRANKENPHP 1.7 CODEIGNITER 4
FRANKENPHP 1.7 CODEIGNITER 4
$ sudo nano /etc/caddy/Caddyfile
# Redirect www → primary domain
www.domain1.com {
redir https://domain1.com{uri} permanent
}
# Domain utama: serve CI4 via Frankennphp
@siagung
siagung / Crack Sublime Text.md
Created May 20, 2025 04:44 — forked from Fadi002/Crack Sublime Text.md
Crack Sublime Text 4.1.9.2 Build 4192 [latest version]
import sys
import os

NOP = 0x90
offsets_and_values = {
    0x000035FE: 0x01,
    0x0000361D: 0x95,
    0x0000361E: 0x9E,
    0x0000361F: 0x57,
@siagung
siagung / gist:3dcac4eff8b67fd38cddb1b2cba42e4a
Created April 26, 2025 03:47
Apache VirtualHost Configuration for CodeIgniter 3 with PHP-FPM and SSL
optimized VirtualHost configuration for your CodeIgniter 3 application with PHP-FPM and SSL on AlmaLinux 9:
<VirtualHost *:80>
ServerName xxx.co.id
ServerAlias www.xxx.co.id
DocumentRoot /var/www/html/xxx.co.id
# Redirect all HTTP to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
@siagung
siagung / README.md
Created April 26, 2025 00:26 — forked from setdjod/README.md
Cara Mengaktifkan SSL di XAMMP Windows 10 64bit

Cara Mengaktifkan SSL di XAMPP

Persiapan

  1. Download cert-template.conf
  2. Download make-cert.bat
  3. Buka folder "C:/xampp/apache/" lalu buat folder cert
  4. Copy 2 file yang sudah didownload pada folder cert
  5. Buka make-cert.bat dan ikuti instruksinya

Konfigurasi

  1. Buka file "C:/xampp/apache/conf/extra/httpd-vhosts.conf" dan lihat contoh berikut ini
@siagung
siagung / vcredistr.md
Created February 25, 2025 08:45 — forked from ChuckMichael/vcredistr.md
Visual C++ Redistributable Packages
@siagung
siagung / gist:02cab4eb8ea752608b37312c2ce7a884
Created November 14, 2024 04:29
springboot jwt domain validation
https://chatgpt.com/share/67357c67-164c-8008-9d16-86ba73be4bee
@siagung
siagung / gist:3ab9f20dd1e6c5cbfdfd43d338109e1f
Created November 10, 2024 13:40
Apache Common Daemon windows service
https://chatgpt.com/share/6730b795-5940-8011-a2b3-155181a3e4ec
@siagung
siagung / LaporanTagihan.txt
Created August 12, 2024 16:34 — forked from endymuhardin/LaporanTagihan.txt
Contoh Direct Print dengan Java
LAPORAN DAFTAR PELUNASAN KOLETKOR
AGEN PT. ARTIVISI INTERMEDIA
=====================================================================================================================
KODE KOLEKTOR : 0001
NAMA KOLEKTOR : JOJO
+------+--------------+---------------------------+---------+-------------+-------------+-------------+-------------+
@siagung
siagung / gist:e3ae06c71599bed156a7fae03c6c8c7e
Last active July 18, 2024 04:16
disable windows interface forwarding untuk wireguard
win 10 -> Set-NetIPInterface -ifindex <id interface> -Forwarding Disabled
wind 7 -> netsh interface ipv4 set interface "Local Area Connection 2" forwarding=disabled
proxy nginx ->https://reintech.io/blog/setting-up-reverse-proxy-nginx-almalinux-9
virtual hosts nginx ->https://www.dewaweb.com/blog/cara-konfigurasi-virtual-host-di-nginx/