Skip to content

Instantly share code, notes, and snippets.

View JusCampin's full-sized avatar

Apollyon JusCampin

View GitHub Profile
@JusCampin
JusCampin / xampp_mariadb_migration.md
Created February 18, 2026 04:15
Migrating from XAMPP to Standalone MariaDB

Migrating from XAMPP to Standalone MariaDB

A quick guide to moving your local databases from XAMPP's MySQL/MariaDB instance to a standalone MariaDB installation managed via HeidiSQL.

1. Export Database via phpMyAdmin

  1. Open the XAMPP Control Panel and start Apache and MySQL.
  2. Navigate to http://localhost/phpmyadmin in your browser.
  3. Select your database from the sidebar.
  4. Click the Export tab.
  5. Select Quick export and SQL format.
@JusCampin
JusCampin / rdr2_prompt_research.md
Created March 18, 2024 03:57 — forked from umaruru/rdr2_prompt_research.md
RDR2 Prompt research

Prompt Research

Note: The code examples below should work on RedM. On other frameworks, you may need to adjust some function names.

Creating prompts

To create a prompt, start with _UI_PROMPT_REGISTER_BEGIN (0x04F97DE45A519419), set up some settings, then finish with _UI_PROMPT_REGISTER_END (0xF7AA2696A22AD8B9). While there's a native to create prompts (_UI_PROMPT_CREATE (0x29FA7910726C3889)), there aren't many exemples around.

A prompt basically needs a control and a text. You can find a list of controls here Controls (femga/rdr3_discoveries). The text has to be created with VAR_STRING (0xFA925AC00EB830B9).