Skip to content

Instantly share code, notes, and snippets.

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

Fire FireMario211

🏠
Working from home
View GitHub Profile
@FireMario211
FireMario211 / matrix-client-comparisons.md
Last active July 25, 2026 13:24
Matrix Clients and their pros and cons

Matrix Client Comparison

Note

This provided list is based solely on my opinion. You may not care about some of these features, but some people who are transitioning from Discord to Matrix may care. The clients are taken from https://matrix.org/ecosystem/clients/

Last updated date: July 2026

Element

A glossy web and desktop client with an emphasis on performance and usability.

✅ Pros

@dankmeme01
dankmeme01 / geode-android-hwasan.md
Last active May 26, 2026 19:57
Easy debugging of Geode mods with HWASan

Easy debugging of Geode mods with HWASan

ASan (and it's younger brother, HWASan) are incredible tools for debugging memory integrity bugs in native applications. This guide explains how to set up HWASan for Geode mods on Android and how to analyze crashes.

Requirements:

  • Device running Android 14+, lower is possible but only with ASan, which has a slightly different way of setting up. See here
  • Android Studio or any other way of building the launcher

Build the mod

Windows

Function Path
getGameDir() {GD_DIR}
getSaveDir() %LOCALAPPDATA%/GeometryDash
getGeodeDir() {GD_DIR}/geode
getGeodeSaveDir() %LOCALAPPDATA%/GeometryDash/geode
getGeodeResourcesDir() {GD_DIR}/geode/resources
getGeodeLogDir() {GD_DIR}/geode/logs
@JJTech0130
JJTech0130 / debugger_jit_improved.m
Last active July 10, 2026 15:52
Improved method of using a debugger for JIT on iOS... Uses split rx/rw regions, and works on iOS 18.4b1
#import <Foundation/Foundation.h>
#import <mach/mach.h>
#import <stdio.h>
#import <stdlib.h>
#import <string.h>
#include <libkern/OSCacheControl.h>
const int REGION_SIZE = 0x4000*1;
void write_instructions(void* page)
@HJfod
HJfod / GeodeListExample.cpp
Created May 18, 2024 21:10
An example on how to create a simple scrollable list with Geode. Up-to-date with best practices in May 2024.
// Required for the ScrollLayer class, a Geode addition
#include <Geode/ui/ScrollLayer.hpp>
using namespace geode::prelude;
// `items` here is some content you want to use to generate the
// list nodes - this can be levels, posts, or whatever else you want
// to make a list of
ScrollLayer* createMyList(std::vector<Item> const& myItems) {
// The size here is the size of the visible area you can see and scroll in
@L0ry-git
L0ry-git / main.rs
Last active April 26, 2021 19:52
Joke tool that allows you to write and compile Rust code as folder names. The syntax for every folder name is <line number> <code> (for example "11 let a = 1;"). See lines 46-55 for the other syntax rules. Crate name is supposed to be "folderustc". Usage: folderustc <source folder> <rust compiler args>.
use std::{
fs::{self, DirEntry, File},
io::{prelude::*, Error, Result},
process::Command
};
//Default temp file name
const FILE_NAME: &'static str = "source.rs";
fn main() -> Result<()> {
@subfuzion
subfuzion / curl.md
Last active August 13, 2026 17:10
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@shamil
shamil / mount_qcow2.md
Last active June 5, 2026 10:42
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active August 13, 2026 11:46
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname